Project

General

Profile

[wt-3.3.6] WMediaPlayer issues

Added by Jeremy Brisko almost 8 years ago

Hey Guys!

Hoping you can send a few more pointers my way.

In my project I have a WMediaPlayer. I have created another WContainerWidget subclass and included all of my controls. I then run the setControlsWidget passing in my new Widget. Then I go through and connect the different bars, text and buttons. In doing so, both of the Progress Bars work, the Play, Pause and Max Volume buttons work. However both the duration and current time text, and the volume mute and unmute buttons do nothing. It's like they don't even get the events hooked up to them. Is there a trick to this? Is there a specific order in which these connections need to be made?

Another issue with the WMediaPlayer if I have one included right as my project comes up, it seems that it breaks jQuery. Any jQuery function that I call after that I get $(...).functionName is not a function. If I remove the WMediaPlayer and let the application load, and insert it with a Singleshot timer 2 seconds later, the javascript works fine. This is an okay solution for what I need, just a quirky behavior.

Please let me know if I can provide any more information to troubleshoot this issue.

Thanks!