Thread Starter
javila
(@javila)
little correction: it works on the secondary site also on an smartphone but not on the ipad. I says: error loading media . File could not be played
Thread Starter
javila
(@javila)
I found out why this happens. It doesn’t have anything to do with your plugin. Here is the solution:
http://www.technowut.com/2012/05/14/how-to-stream-videos-to-ios-devices-with-multisite-wordpress/
The only thing is that i couldn’t install mod_xsendfile on my system with xampp on windows. What I am trying now is to make jw player to convert automatically the wordpress address of the file to the server address so that it is able to play it on ipads like it was suggested here:
http://www.longtailvideo.com/support/forums/jw-player/bug-reports/15740/not-working-on-ipad
with the variable $blogid ( to adjust to each blog) should be easy to do on Line 154 of jw-player-plugin-for-wordpress/media/JWShortcode.php
Could you or somebody else please help me with that?
Thanks for sharing that. Maybe you should check the server mime types? Make sure the videos being served are being returned as video/mp4. I would not advise hacking into the plugin’s source to accomplish this.
Thread Starter
javila
(@javila)
What would you do if the installation of mod_xsendfile is not possible? What is the main reason for not recommending the code change in that line?
I just would not advise going through the source. Does the secondary site not send out the proper content headers for video?
Thread Starter
javila
(@javila)
It can’t play the video because it says: error loading media . File could not be played. This doesn’t happen on the main site or as soon as you add the file as external source with the server address (replacing the blog name with: /wp-content/blogs.dir/blog number/) it works.
Thread Starter
javila
(@javila)
But like I said this only happens on the ipad . Everywhere else the video works fine with the original address given automatically by WP
This happens because the MIME TYPE is not correct for HTML5 mode, which the iPad uses.
Thread Starter
javila
(@javila)
but why does it happen only with one Url but not with the other? Or why doesn’t it happen on the main site?
Do you have an example link to both?