Skip to content

Commit

Permalink
changed syntax on decorating _videoTag object to comply with Chrome 4…
Browse files Browse the repository at this point in the history
…5 limitations TVPE-606
  • Loading branch information
yameen committed Nov 22, 2018
1 parent f0616dd commit 63b95f6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion static/script/devices/broadcastsource/astrasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,15 @@ define(

},
_createAndSetBroadcastVideoTag: function _createAndSetVideoTag() {

this._videoTag = document.createElement('video');
this._videoTag.autoplay = "autoplay";
this._videoTag.style = "position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;";
this._videoTag.style["position"] = "absolute";
this._videoTag.style["top"] = "0px";
this._videoTag.style["left"] = "0px";
this._videoTag.style["width"] = "100%";
this._videoTag.style["height"] = "100%";

var sourceTag = document.createElement('source');
sourceTag.src = "rec://srv/cur";
sourceTag.type = "video/x-dvb";
Expand Down

0 comments on commit 63b95f6

Please sign in to comment.