Thank you for your post.
If you want to put videos from YouTube, do the following:
1. Below the actual video, click on "Share".
2. In the options that appear below "Share", click on "Embed". A link is displayed that begins with "<iframe...". Copy this to the clipboard.
3. In the Web Viewer, enter "data:, and then paste what is on the clipboard. Either precede the quotes with a backslash, or change the quotes to single quotes. At the end, enter a quote to complete the string.
Using an example, go to the YouTube video "FileMaker Go for iPad in 3 Minutes" at:
Click on "Share" and click on "Embed", and the following string appears (assuming you selected 640 x 480):
<iframe width="640" height="480" src="http://www.youtube.com/embed/7GnlhqXZ3Q4" frameborder="0" allowfullscreen></iframe>
Copy this string to the clipboard, go to FileMaker Pro, go into Layout Mode, double-click the Web Viewer and enter:
... and then paste from the clipboard. Change the double-quotes to single quotes and enter a double-quote at the end. You should then see:
"data:,<iframe width='640' height='480' src='http://www.youtube.com/embed/7GnlhqXZ3Q4' frameborder='0' allowfullscreen></iframe>"
Save this and go to Browse Mode. You will only see the video in the Web Viewer. When you access this with FileMaker Go, only the video will be displayed.
Let me know if you need additional clarification.
I played with it a bit and after again suffering anxiety messing with the width, etc. I then tried this:
I created a calculation, URL value, to extract the "7GnlhqXZ3Q4" from a field that contains the full URL. I'll call the snippet the YouTube ID. I have many YouTube urls and it seems there are many ways to create them but the snippet begins with = and ends with & or nothing following it. So it's easy to isolate.
It seems the /embed/ is the trick for eliminating the ads in the Web Viewer.
I created a second calculation field which I only need to add to the Web Address field in the Web Viewer Setup dialog.
"http://www.youtube.com/embed/" & URL value
Then the web viewer object can be sized and placed on the layout. I use all off the anchors so that it fills the screen on the layout for the iPhone.
Life is good, for a little while, I guess...