2 Replies Latest reply on Mar 21, 2012 11:41 AM by disabled_JackRodgers

    YouTube hassles (personal gripe)

      Title

      YouTube hassles (personal gripe)

      Post

      I wanted to create a blog page that could be used to demonstrate Filemaker Go to a prospective client and anyone can use this page or create their own:

      http://gofm.biz/2012/03/18/filemakergo-videos-on-youtube/

      Then I tought why not use Filemaker Go to show the videos and that's where I ran into problems.

      Filemaker Go does not show the videos as clickable objects like Wordpress or a video stored in a container. Instead I have to deal with the YouTube stuff and the web viewer response is very slow.

      So, are their any urls for Filemaker videos that do not go through YouTube. Or any other websites that serve videos on Filemaker without the mess.

        • 1. Re: YouTube hassles (personal gripe)
          TSGal

          Jack Rodgers:

          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:

          http://www.youtube.com/watch?v=7GnlhqXZ3Q4

          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:

          "data:,

          ... 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.

          TSGal
          FileMaker, Inc.

          • 2. Re: YouTube hassles (personal gripe)

            Excellent idea.

            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...