Skip to content

Instantly share code, notes, and snippets.

@gohilbhagirath90
Forked from mylesjao/vlc.html
Created January 20, 2016 10:52
Show Gist options
  • Save gohilbhagirath90/c1b4ed7c4d86000a7851 to your computer and use it in GitHub Desktop.
Save gohilbhagirath90/c1b4ed7c4d86000a7851 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