You seem to be already much further with getting html5 video support implemented in iZAP Videos for uploaded videos than I am. It's on my ToDo list for quite some time already but I never had time to work on it up to now. Sorry for that... But I don't think I can provide you with any useful advice at the moment.
I would have said that it might be necessary to switch to the new file serve API of Elgg for getting it to work. But as you are still on Elgg 1.8 this isn't an option for you. In the end you might need to alter the value saved in videosrc already when a video is uploaded to suit your needs. And you would likely need to update the value for existing video entries.
The point is, that it's a matter that's not trivial and it will take some time to get it working (at least I think you need some time and therefore I haven't started with it so far...). Maybe you could start "at the end": what's the code and filepath or url necessary to play the video. And then go backwards from there and modify the corresponding classes, functions and object data to save and deal with the necessary data on uploading, converting, saving and what else necessary with a video entry. Last but not least deal with updating existing video entries.
If you have some code to share, I would be happy about seeing what you have done so far. While I don't see me working on it anytime soon, it might still help me once I can work on it. You could send it to iionly@gmx.de if you want to.
hi iionly,
i haved used the jwplayer flowplay and videojs everyone is ok ,even just this
<video>
<source src=\"$this->videosrc\">
</video>";
to replace
<video width='".$width."' height='".$height."' id='mp4Player'>
<param name='allowFullScreen' value='true'>
<param name='allowScriptAccess' value='always'>
<param name='movie' value='".$this->IZAPSETTINGS->playerPath."?movie=".$this->videosrc . $extraOptions ."&volume=30&autoload=on&autoplay=off&vTitle=".$this->title."&showTitle=yes' >
<embed src='".$this->IZAPSETTINGS->playerPath."?movie=".$this->videosrc . $extraOptions ."&volume=30&autoload=on&autoplay=off&vTitle=".$this->title."&showTitle=yes' width='".$width."' height='".$height."' allowFullScreen='true' type='application/x-shockwave-flash' allowScriptAccess='always' wmode='transparent'>
</video>";
if load video.js is better like
<head> <link href="http://vjs.zencdn.net/5.8.8/video-js.css" rel="stylesheet"> <!-- If you'd like to support IE8 --> <script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script> </head>
i select elgg1.8 for testing because too many plugins for choice:)),thank you iionly
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.