Drupal Association members fund grants that make connections all over the world.
I have the player working near perfectly using HTML5, my problem seems to occur when I switch over to Flash.
When the page loads, I am using jQuery to bind some functions onto some thumbnails to load other videos, as well as a play/pause event that changes and image to indicate that a video is playing. As I mentioned, all is working fine when it's using the video tag.
Seeing as how the player seems to output a different ID depending on what player it's using, I am using jQuery to calculate which ID exists, and thereby load the applicable player using _V_(detectedPlayerName).
When using Flash though, it seems that in 90% of cases the player element loads extremely late onto the page. Causing _V_ to spit out an error that it can't find the player ID, resulting in any commands being bound to the player failing. Even using _V_(detectedPlayerName).ready( ) doesn't seem to help, because the elements don't seem to be on the page yet.
My jQuery code binding code is supposed to only take place once the document is ready, so I am wondering if perhaps the module could be writing out the Flash code in it's own .ready, maybe after mine (if that's even possible?).
Any help would be appreciated.