Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Framing a youtube, vimeo, etc video properly in a web viewer


This topic is 3990 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi 

I am struggling with the web viewer framing a youtube video and then moving to a vimeo video and getting the web viewer to display the video properly . Right now, on a youtube video it defaults to the upper right corner of the youtube page and I have to manually move it to the right place.

I am looking to have the video in the web viewer show up with no border but the video centered in the web viewer window

 

I am trying so hard to do that. The youtube videos are always in the same location on their page 

the vimeo videos are always in the same place. I just need to somehow get filemakers web viewer to frame it properly. Presently the youtube logo shows up in the upper left corner and I always have to move it. 

I have included a file with three examples (three records) of different video sites. So also filemaker would have to calculate if the url was , Youtube, GodTube, vimeo etc.  This would have to be from the url but the centering is the thing I am disparately trying to accomplish.

Well thank you for reading. Please download so you can help me correct it. I hope someone can help me. It would be okay to change layouts for different video sizes if necessary.

 

Merry Christmas and thanks

FMforums Center Video Web viewer.fmp12.zip

Posted

that is correct but I have a situation where I have a great number of video urls and to create pages for all of them would be almost impossible.  I am just trying to find a way to center the video in the web viewer without doing that. I just want the video centered. I know there must be away to do this.

If you a saying I create the code for a page with the embed link in it without actually uploading a formal page that would be cool if I knew how to do that. I don't without help here.

 Thanks for your answer

Posted

Sorry, I should have actually attempted to answer your actual question... about centring a web viewer... I think this is an HTML / CSS question and a web designing / coding forum would definitely have the answer, or even a Google search on how to centre an HTML page in an iframe.

 

I haven't tested this but try this:

 

<html>
<body style="margin: 0;">
<div style="margin: 0 auto; width: 500px;"><!--Change this width if you want-->
<iframe src="http://www.youtubeurlhere.com" style="width: 100%; height: 100%; border: none;">
</iframe>
</div>
</body>
</html>

Posted

I don't think I am asking to center a web viewer but rather a youtube video within a web viewer.  When I responded I thought you meant there was some way to insure the youtube video would be centered within a web viewer. That is what I am trying hard to accomplish. 

  • 2 weeks later...
Posted

Can html be generated in a script to make an IFrame on the fly?

I am understanding that I can play a centered video from youtube or any other video source that supplies embedded code.

So my question is CAN I MAKE A GENERATED PAGE OF HTML PERFORM ON THE FLY WITHIN THE WEB VIEWER. This would solve the problem I have been posting.   IF and HTML solution or a web page could make the embedded video perform the way I am trying to accomplish. How do I employ the html code within the webviewer to make a virtual page(not hosted)  perform.   I hope I made this question clear. 

 

Thanks for your attention

Posted

Thanks to you David

That is exactly what I wanted.  

so it is all in the url with that embed tag. 

I get it.  I would like it to autoplay and that be added in this case?

 

Thanks so much

This topic is 3990 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.