A working video player?

I would like to show videos along with photos. My videos are currently in mp4 format although I can convert them from their native MOV format to most common video formats. To show video I've enabled the jPlayer plugin and while it works nicely for Macintosh and iPad, the videos don't play in either IE or Firefox under Windows XP. Searching the jPlayer website I can see a jPlayer demo that DOES work with IE and Firefox under Windows XP. The instructions for getting jPlayer to work with older IE etc state that swfpath has to be properly set. As far as I can see it is correctly set in the zenphoto jplayer.php plugin, and points to the jplayer.swf file in its location within the extensions folder in the js directory. I'd appreciate hearing from anyone who's got a method for showing videos working properly in most common browsers. I'm not married to jPlayer but so far it's the only plugin that works even partially.

Thnx

NK

Comments

  • acrylian Administrator, Developer
    It is new to me that our jPlayer plugin does not work. On Windows and Firefox you will need to have Flash to play mp4 videos. Or otherwise provide the counterpart formats as documented.

    I am on Mac so I can't test IE at all. The plugin should be setup exactly as said on the jPlayer site. On Mac it does work for me in Safari, Firefox and Chrome:
    http://zenphoto.maltem.de/album3/Zenpage-Teaser.m4v.html

    Please review your browser and server error logs. Sometimes it can be even server security blocking things like flahs or the like. It could also be some browser plugin for blocking tracking.
    Also make sure you are on the latest Zenphoto release. I do remember that there was such an issue once, I think.

    If you find errors in the logs please open a ticket on our bugtracker.

    Alternatively you also could try the "half official" - as by me - mediaelementjs player.
  • Thanks for your work on mediaelement.js player. I like it and have substituted it for jplayer. From the mediaelement web site I got the clue that I think makes it work for older browsers. The css requires that in file mediaelementplayer.css you need to change the css for .me-plugin from position: absolute to position: relative. Testing is still not totally confirmed but running Win XP in an emulator on the Mac seems to show that the videos are now playing. Don't know how or if a similar change for jplayer would fix it too. I'm awaiting confirmation from a Windoze using friend to see if this is THE fix but I suspect that it is.

    Cheers

    NK
  • acrylian Administrator, Developer
    Ok, Windows XP is not really a current system by all means, isn't it? :-)

    Anway, if these are issues with the players itself you should open tickets on the their developer's sites so they can fix them. We respectively I prefer not to change any 3rd party stuff itself if really avoidable as it gets easily a pain to maintain.

    If these issues are of the plugins itself please open tickets on their repositories.
  • I prefer the interface of mediaelementjs player so I'm trying it out. What I'm finding is that although there are checkboxes in the plugin config area, they don't seem to be being implemented when the plugin runs. Specifically I'm looking at the checkboxes in the control bar configuration and most importantly the preload option. I would like mediaelementjs to preload my videos but I can't seem to get it to 'listen' to the checkbox in the plugin config. I've looked at the code in your mediaelementjs_player.php plugin but can't see any problems. I can see how the checkboxes are setup for the plugin but it's the values that they hold that don't seem to actually apply. Text entry boxes (height, width) work though so something is being taken from the plugin config data.
  • acrylian Administrator, Developer
    I made the two Zenphoto jPlayer skins as I didn't like the original ones included. However it is quite some work (=pain) to create a skin as each video/audio and their playlists differ.
    I did not even try for mediaelement but that looks good as it is. Sadly there is still no proper playlist plugin (the one included basic).

    Best you open a ticket on the repository for the issues so they are not forgotten.

    Update: I can reproduce the issues. Nevertheless please open a ticket (To get used to in case there is more :-)).
  • Will do. I think the issue turns out to also be browser dependent. That is: on my iPad (IOS 7) videos autoload but on my Mac (Mavericks) they don't. So it may also be a mediaelementjs issue will post there too.

    Thanks. Mediaelementjs is still my preferred player. If you're ever editing your plugin, if you can add an option for either showing the control bar always vs the present show/hide behaviour that would be great.

    NK
  • acrylian Administrator, Developer
    Thanks, saw the ticket. Sadly you opened it on the Zenphoto repository but it is not an official plugin currently although by me. I opened one on the proper repository: https://github.com/acrylian/mediaelementjs_player/issues/2
    I divided the ticket into tasks. For the future please open separate tickets for each issue as that is more convenient.
Sign In or Register to comment.