Go
Not registered? Sign up!

Javascript Interaction on Linux not working

Google Translate
4 posts | return to the JavaScript Interaction forum | get the rss feed for this thread

Jul. 24, 2009MK

Took me 10 hours to figure this bug out. If you need javascript interaction on linux you need to add a flashvar with the DOM-Id in it.

ie:
<param name="flashvars" value="id=player_id" />

Would be nice if this would be documented, or did i miss something?

The 4.3 version in /trunk/ is completed in terms of coding. You can use that one. If, in this version, you set the DOM ID with the 'id' flashvar, it'll work in Linux too.

Pity though that the automatic ID retrieval through ExternalInterface.objectID doesn't work on Linux...

Jul. 24, 2009lost

Next time, you could ask. That might take 10 minutes instead of 10 hours.

The id flashvar is documented here: http://developer.longtailvideo.com/trac/wiki/FlashVars#API

Sep. 26, 2009alex

hey guys,

update the documentation @ http://developer.longtailvideo.com/trac/wiki/FlashApi

because searching for such stuff is just simply annoying

Nov. 20, 2009ben

Please update the documentation on http://developer.longtailvideo.com/trac/wiki/FlashApi to note that the include 'id' flashvar is required for JavaScript interaction with the player. It does NOT make sense that someone would think to look for that information on the FlashVars page.

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.