So I had created a page where I was embedding the VLC player. This was working fine last week and I had no issues with it. I was loading it up in firefox. Chrome yelled at me with the NPAPI is a no no. IE loads a player it looks like but does not load my stream. FireFox which use to work does nothing now. If I look in the console I get the following.
TypeError: vlc.playlist is undefined
Which leads me to believe that the vlc player does not load. Here is my page
Code: Select all
<html>
<head>
<title>Simply ThinSign</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/css/animate.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<script src="/js/jquery-1.11.0.min.js"></script>
<script src="/js/jquery.lettering.js"></script>
<script src="/js/jquery.textillate.js"></script>
</head>
<body>
<div id="container">
<div id="tv">
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
width="1564"
height="880"
id="vlc" />
</div>
<div id="right_ad">
<?php include "panels/main_side.php"; ?>
</div>
<div style="clear:both"></div>
<div id="bottom_ad">
<?php include "panels/main_bottom.php"; ?>
</div>
</div>
<script type="text/javascript">
<!--
var vlc = document.getElementById("vlc");
vlc.playlist.add("http://x.x.x.x:5004/auto/v570");
vlc.playlist.play();
//-->
</script>
</body>
</html>