view += '<iframe class="webvideo" type="text/html" width="100%" height="407" src="http://www.dailymotion.com/embed/video/' + video + '?autoplay=1&logo=0&related=0&html5=1" width="100%" frameborder="0"></iframe>'
} else if (service == 'brightcove') {
var v = video.split('|');
- view += '<iframe class="webvideo" type="text/html" width="100%" height="407" src="http://link.brightcove.com/services/player/bcpid' + v[0] + '?bctid=' + v[1] + '&autoStart=false&width=100%25&height=100%25" width="100%" frameborder="0"></iframe>'
+ view += '<iframe class="webvideo" type="text/html" width="100%" height="407" src="./video/brightcove.html?bcpid=' + v[0] + '&bctid=' + v[1] + '&autoStart=false&width=100%25&height=100%25" width="100%" frameborder="0"></iframe>'
}
view += '</div>';
$("#view").append('<div class="mview">' + view + '</div>');
--- /dev/null
+<html>\r
+<head>\r
+ <style type="text/css">\r
+ * {\r
+ padding: 0;\r
+ margin: 0\r
+ }\r
+\r
+ body, object {\r
+ background-color: #000;\r
+ }\r
+ </style>\r
+</head>\r
+<!-- Start of Brightcove Player -->\r
+<div style="display:none">\r
+</div>\r
+<!--\r
+By use of this code snippet, I agree to the Brightcove Publisher T and C\r
+found at https://accounts.brightcove.com/en/terms-and-conditions/.\r
+-->\r
+<script type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>\r
+<object id="myExperience" class="BrightcoveExperience">\r
+ <param name="bgcolor" value="#000000"/>\r
+ <param name="width" value="100%"/>\r
+ <param name="height" value="100%"/>\r
+ <param name="isVid" value="true"/>\r
+ <param name="isUI" value="true"/>\r
+ <param name="dynamicStreaming" value="true"/>\r
+</object>\r
+<!--\r
+This script tag will cause the Brightcove Players defined above it to be created as soon\r
+as the line is read by the browser. If you wish to have the player instantiated only after\r
+the rest of the HTML is processed and the page load is complete, remove the line.\r
+-->\r
+<script type="text/javascript">brightcove.createExperiences();</script>\r
+<!-- End of Brightcove Player -->\r