Skip to content

Instantly share code, notes, and snippets.

@mylesjao
Last active July 28, 2019 02:05
Show Gist options
  • Save mylesjao/c62232001589b57ea69c to your computer and use it in GitHub Desktop.
Save mylesjao/c62232001589b57ea69c to your computer and use it in GitHub Desktop.
vlc web plugin sample. only for IE and Firefox
<!DOCTYPE html>
<html>
<body>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>
<object
classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
id="vlc"
name="vlc"
class="vlcPlayer"
events="True">
<param name="Src" value="rtsp://xxxxx:8080/Media/Live/Normal?camera=C_4&streamindex=1" /> <!-- ie -->
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<!-- win chrome and firefox-->
<embed id="vlcEmb" type="application/x-google-vlc-plugin" version="VideoLAN.VLCPlugin.2" autoplay="yes" loop="no" width="640" height="480"
target="rtsp://xxxx:8080/Media/Live/Normal?camera=C_4&streamindex=1" ></embed>
</object>
</html>
</body>
@netteria
Copy link

I do not work on any browser :(

@megyptm
Copy link

megyptm commented Jul 28, 2019

not work on any browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment