WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
[Plugin: JW Player Plugin for WordPress] JWplayer (HTML5) not working when wordpress is installed in (9 posts)

  1. mbarnig
    Member
    Posted 3 years ago #

    If I install WordPress 3.0.3 in a folder one level up to the root directory, the JWplayer 5.4 (Plugin 1.3.2) works fine with Flash, but it is not working (no player display, no error message) on browsers with Flash disabled and on mobile phones (HTML5 mode).
    I have set up a temporary test environment on the following links with worpdpress installations in the root directory and in root/folders to show the problem :

    about tests - URL : http://www.neen.lu/?page_id=2
    root directory - URL : http://www.neen.lu
    one level up folder - URL : http://www.neen.lu/jw_5_4/

    http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/

  2. JW Player
    Member
    Plugin Author

    Posted 3 years ago #

    @mbarnig,

    Looking at the source for your test page it looks like the plugin is falling back to swfobject to embed the player. This won't work as this tries to embed the flash player which obviously won't work with flash disabled.

    The fact that it is falling back to swfobject suggest to me that the jwplayer.js file is not located in the correct place. Please ensure that it is located at wp-content/uploads/jw-player-plugin-for-wordpress/player/jwplayer.js.

    Thanks.

  3. mbarnig
    Member
    Posted 3 years ago #

    Thank you for your answer.
    I verified that the jwplayer.js file is in the right place. It is. You can check it by visiting the link

    http://www.neen.lu/jw_5_4/wp-content/uploads/jw-player-plugin-for-wordpress/player/jwplayer.js

  4. JW Player
    Member
    Plugin Author

    Posted 3 years ago #

    This is odd.

    When running in flash mode it is grabbing the player from the correct path and the plugin uses the same path to get jwplayer.js. Since the file is accessible the only other thing that could cause the fallback to swfobject is if the plugin thinks the current version of the player isn't the right one. If you go to the custom player page in the admin section, what version of the player does the plugin list?

    Thanks.

  5. mbarnig
    Member
    Posted 3 years ago #

    Your assumption that the plugin thinks the version of the player is not the right one seems to be correct.
    In the admin section, the player version is listed as "unknown".

    To investigate this issue further, I installed a new wordpress site with a new jwplayer plugin in the folder v1_3_2.

    Surprise ! The player version is listed as "current player : JW Player 5.4.1530".

    A quick check showed that a post with a progressive video download now works in the folder as expected as HTML5 with the Safari and Chrome browsers.

    http://www.neen.lu/v1_3_2/

    I was quite sure to have done serious tests in the past and I looked what were the differences between this new installation and
    the preceding installations. The main difference was that I used now a laptop with Vista running with Flash enabled browsers, wheras the
    other installations have been done on a laptop running Windows 7 with Flash disabled browsers.

    I went back to the Windows7 laptop and was able to reproduce the same failing test results as described at the beginning. To validate the results, I used also a Desktop PC running Windows7 with Flash enabled browsers. Same negative result.

    My findings today are :

    If WordPress is installed in a folder one level up to the root directory on an hosted server using a PC running Windows7, the installation of the JW Player Plugin 1.3.2. fails, because
    the player version is listed as unknown, even if the player is reinstalled.

    http://www.neen.lu/jw_5_4/

    I compared all the files in the different folders on the server without detecting a anormaly.

    I think the problem is related to the path management in WordPress. I will continue my investigations. In the mean time, I know the workaround : Vista.

  6. samueltournan
    Member
    Posted 2 years ago #

    I may have a similar problem. The Flash player mode is quite okay but it won't switch to HTML5 mode (i tried by deactivating flash in firefox, then I refreshed the page). I have a licensed version (5.8), and the jwplayer.js is in the right folder. The plugin page in wordpress seems to see the right version (5.8 licensed).

    HTML5 doesn't work, instead i have a black rectangle with a white play icon. When I click the icon, it sends me to the first file of my playlist (a mp3 file, played by the default Quicktime player)

    I work with a Mac and my host is 1&1.

    Have you got an idea of what's going on?

    http://www.silkbeats.com/blog

  7. JW Player
    Member
    Plugin Author

    Posted 2 years ago #

    @samueltournan,

    Sorry for the delay, I just got back from vacation and didn't have Internet access.

    I've taken a look at your site and noticed a couple of things.

    1) MP3's are unfortunately not supported by Firefox in HTML5 mode due to licensing. Firefox only supports .ogg or .wav files in HTML5 mode. This is why it's trying to use the QuickTime plugin to play it once you click on it. This is also why the playlist no longer shows up in your widget.

    2) As for the small black box I believe this is being caused by the width=100% being used. The JW Embedder is converting this to 100px. If you set an absolute width ( I think 250px in this case) it should display correctly.

    If you have any other questions just let me know.

    Thanks

  8. samueltournan
    Member
    Posted 2 years ago #

    Are you sayin that i can stream standard wav files? It's not a problem on my side but would it induce stutter or artifacts in audio for visitors with a slow connection? Anyway I'm gonna try that and get back at you to tell you if it works or not.

    Thanks for your reply.

  9. JW Player
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah, I'd be interested to hear how it works for you. I admit .wav files are less than ideal for Internet streaming. .ogg files would be better as they are compressed like .mp3 files.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic