1

Topic: Fling from app not working

I'm working on an app to fling youtube videos. I'm able to fling a particular youtube video to my Vizio TV using your bookmarklet and it plays fine (e.g. http://www.youtube.com/watch?v=he5fpsmH_2g). When I fling the same video from my app, the video gets queued, but I get playback error on my TV when I try playing it.

To do the fling from my app, I call http://flingo.tv/fling/fling and pass the youtube page url as purl (and URL encode and all). Here's what gets called for the above video: http://flingo.tv/fling/fling?purl=http% … e5fpsmH_2g

Any ideas why using the fling API doesn't work? Should I be calling it differently?

2

Re: Fling from app not working

I know exactly why.  The firmware on older Vizio TVs (some still on shelves) imposes a sandbox that makes it impossible to refresh youtube URLs.  I worked around this problem by having the bookmarklet forward ephemeral URLs to the video along with the page URL.

On Western Digital set-top boxes and newer Vizio TVs and blu-rays, this is not a problem. 

Vizio has agreed to update the older firmware, but it may take weeks.

In the interim why not focus on vimeo?

If you don't want to use different APIs for vimeo and youtube, I have a function that normalizes a subset of the metadata across fling-enabled websites. Try

http://flingo.tv/fling/metadize?purl=ht … om/9065661

--Dave

3

Re: Fling from app not working

Hi Dave

Thanks for your response. I didn't realized I had a reply till today.

The metadatize approach seems more appealing to me. However, for youtube videos it doesn't return the ephemeral url. Should just using the deobfuscator and context work?

Also does the http://flingo.tv/fling/fling call take eurl? (ephemeral url)

   thanks

   Srinivas

4

Re: Fling from app not working

No worries, got the fling working by passing the ephemeral url as eurl to fling. Thanks again.

5

Re: Fling from app not working

:-)

Would love to see the app.  Is it a mobile app?

--Dave

6

Re: Fling from app not working

I've made in Android app in my spare time. Will be uploading to the Android market shortly. Just having some icon design issues :-)

7

Re: Fling from app not working

BTW, can I treat http://flingo.tv/fling/metadize as a public stable API to use from my app? Or is it an internal one that can change in future?

8

Re: Fling from app not working

stable or rather "release candidate"

It is used by the fling bookmarklet so I guarantee that it won't go away or change except to add more metadata fields (actors, ...).   I won't change the existing fields.

--Dave