Page 1 of 1

Web wrapper for AXVLC

Posted: 28 Jul 2013 10:44
by zpvs
I created for myself because existing not satisfied. Do not judge strictly, I'm not a guru in this. If interested, use.
Take on github: https://github.com/zpvs/hplayer
Demo view: http://hplayer.hmscript.net/

I beg your forgiveness for the bad English.

Re: Web wrapper for AXVLC

Posted: 29 Jul 2013 12:16
by Jean-Baptiste Kempf
<3 OMG thanks a LOT.

Can we use that as an official webplugin?

Re: Web wrapper for AXVLC

Posted: 29 Jul 2013 14:57
by zpvs
<3 OMG thanks a LOT.

Can we use that as an official webplugin?
yes of course.
If you want I can make a complete documentation with examples.

Re: Web wrapper for AXVLC

Posted: 29 Jul 2013 15:44
by Jean-Baptiste Kempf
This is just a JS layer above it, right?

Did you try with windowless on?

Re: Web wrapper for AXVLC

Posted: 29 Jul 2013 15:52
by zpvs
This is just a JS layer above it, right?

Did you try with windowless on?
JS + CSS wrapper that performs basic operations.

windowless can be included by adding the windowless: true - but have been seen using a small problem with changing the screen. By the way while power windowless Fullscreen API is used browsers to display on the screen.

Here is a partial sdes documentation for startup parameters. http://hmscript.net/portfolio/hplayer/

Re: Web wrapper for AXVLC

Posted: 27 Aug 2013 01:55
by hax001
Is it possible to put a div over top of this and capture all mouse events - or another way of doing this?

Re: Web wrapper for AXVLC

Posted: 28 Aug 2013 00:29
by Jean-Baptiste Kempf
With windowless, yes.

Re: Web wrapper for AXVLC

Posted: 28 Aug 2013 16:24
by hax001
However in IE there are issues with this. I have set my DIV to extend past the borders of the video, and have a real-time X,Y display on mouse move. In IE, when over the video, the update is staggered.

I set allowfullscreen - no/false:

Code: Select all

<object id="vlc" type="application/x-fb-vlc" width="352" height="288" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab" > <param name="windowless" value="true" /> <param name="bgcolor" value="#0b0" /> <param name="src" value="rtsp://10.120.7.193/stream1" /> <param name="AutoPlay" value="True" /> <param name="version" value="VideoLAN.VLCPlugin.2" /> <param name="toolbar" value="false" /> <param name="height" value="500" /> <param name="width" value="500" /> <param name="allowfullscreen" value="false"/> <embed id="vlc" bgcolor="#00bb00" type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" windowless="true" version="VideoLAN.VLCPlugin.2" width="500" height="500" loop="yes" toolbar="no" autoplay="yes" target="rtsp://10.120.7.193/stream1" allowfullscreen="no" /> </object>
I created a double-click JS event:

Code: Select all

.mousedown(function (event) { switch (event.which) { case 1: // left // now if mouse is moved, return new relative positions DidClick.active(); if (DidClick.count == 2) { $("#clicked").html("double-left click"); $("#zoomFactor").html("Zoom In (click)").css("display", "inline").fadeOut("slow"); } else { $("#clicked").html("left click"); //console.log("click..." + n++); if (!buttonClick) { relativePosition.X = relativeStartPosition.X; relativePosition.Y = relativeStartPosition.Y; } buttonClick = true; } break; . . .
It quickly displays "Zoom In (click)" in Chrome, but in IE, it makes the video full-screen. What am I missing?

Re: Web wrapper for AXVLC

Posted: 28 Aug 2013 18:36
by hax001
I created for myself because existing not satisfied. Do not judge strictly, I'm not a guru in this. If interested, use.
Take on github: https://github.com/zpvs/hplayer
Demo view: http://hplayer.hmscript.net/

I beg your forgiveness for the bad English.
Looks great. However some issues with this in IE:

The following error is seen when using the plugin in IE:

CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable.
fontawesome-webfont.ttf

Running on IIS, and adding the following to web.config did not fix the problem:

Code: Select all

<system.webServer> <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" /> <add name="Access-Control-Allow-Headers" value="Content-Type" /> </customHeaders> </httpProtocol> </system.webServer>
One suggested solution is to add the mime type to IIS. However this webfont should be removed all together to make it better platform-agnostic.

The video player also does not appear in IE.

Re: Web wrapper for AXVLC

Posted: 05 Oct 2013 14:30
by noone2407
Hello, thank you very much for your wrapper, I have a problem. How can I show buffering and time of that player?