Embed VLC in html
Posted: 13 Jun 2019 16:01
Hi ,
i have mpeg -2 version live recording files to play on website.
Using the https://wiki.videolan.org/Documentation:WebPlugin/ am trying to play the video.
But it doesn't play on any browser.
Code am writing
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
width="640"
height="480"
id="vlc" />
Js
<script type="text/javascript">
<!--
var id = vlc.playlist.add("Local file location", "Videoname", options);
vlc.playlist.playItem(id);
//-->
</script>
Its been 2 days am researching on it. Please help
i have mpeg -2 version live recording files to play on website.
Using the https://wiki.videolan.org/Documentation:WebPlugin/ am trying to play the video.
But it doesn't play on any browser.
Code am writing
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
width="640"
height="480"
id="vlc" />
Js
<script type="text/javascript">
<!--
var id = vlc.playlist.add("Local file location", "Videoname", options);
vlc.playlist.playItem(id);
//-->
</script>
Its been 2 days am researching on it. Please help