Quote:
Originally Posted by vbboarder
The JW player incorrectly handles swf files. The flash/ video will auto loop (by default this should not happen), the time does not show for swf files with time, the player controls do not work - can play flash/ video, but can NOT pause, forward/ rewind, or interact with controls created by the swf itself. This is not a bug with LDM, VB or even Adobe Flash player, it's a limitation with the JW player - tested with JW player 4.0 in Firefox2 & IE7.
Solution: disable swf from all media players in LDM until JW player can play swf (Windows, Quicktime, & Realplayer also can't correctly play it). When the user clicks on the entry's title link or download entry image link, the flash/ video will open up in a new tab/ window and play correctly using Adobe's Flash player (if installed in the browser).
Fix needed: The JW player will still show for swf files (even if no media players have swf set in LDM) when listing a category's entries. This entices the users to play the file using the JW player, which it can not do. Andrew, can you please disable showing the player for swf files when listing a category's entries?
|
There's a couple of places to make this change.
Inline players
If you are using the JWplayer extra to play media inline, then got to vb/admincp/products and players/plugin manager
Edit the Links and Downloads Manager - JWPlayer Addons plugin attached to hook ldm_linkbit_create.
Change line:
Code:
if ($links_defaults['inlineJWplayer_active'] and in_array($linkfiletype, array("mp3", "flv", "swf", "mp4", "m4v", ))) {
to
Code:
if ($links_defaults['inlineJWplayer_active'] and in_array($linkfiletype, array("mp3", "flv", "mp4", "m4v", ))) {
and delete the line
Save
Edit the Links and Downloads Manager - JWPlayer Addons plugin attached to hook ldm_linkbit_gettypebit.
Change the line
Code:
if (in_array($linkfiletype, array("mp3", "flv", "swf", "m4v", "mp4",))) {
to
Code:
if (in_array($linkfiletype, array("mp3", "flv", "m4v", "mp4",))) {
Save
Standard players
Go to ldm/admin/media players. Find JWflvPlayer. Remove swf from the list of filetypes handled and save.