Last active
July 28, 2019 02:05
-
-
Save mylesjao/c62232001589b57ea69c to your computer and use it in GitHub Desktop.
vlc web plugin sample. only for IE and Firefox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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
I do not work on any browser :(