a548f800 by Gary Katsevman

copy flash swf option

1 parent a5fb7c9f
...@@ -531,6 +531,8 @@ videojs.Hls = videojs.Flash.extend({ ...@@ -531,6 +531,8 @@ videojs.Hls = videojs.Flash.extend({
531 init: function(player, options, ready) { 531 init: function(player, options, ready) {
532 var mediaSource = new videojs.MediaSource(); 532 var mediaSource = new videojs.MediaSource();
533 var source = options.source; 533 var source = options.source;
534 var settings = player.options();
535 options.swf = settings.flash.swf;
534 options.source = { 536 options.source = {
535 src: videojs.URL.createObjectURL(mediaSource), 537 src: videojs.URL.createObjectURL(mediaSource),
536 type: "video/flv" 538 type: "video/flv"
......