Skip to content

Instantly share code, notes, and snippets.

@scry3r
Forked from mylesjao/vlc.html
Created February 23, 2017 14:27
Show Gist options
  • Save scry3r/d16bd7f32fe814af442c6f96a8cb2177 to your computer and use it in GitHub Desktop.
Save scry3r/d16bd7f32fe814af442c6f96a8cb2177 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment