Inside an angular app with a yeoman scaffold. I set the advertising.tag value implicitly to the uri then a variable - same non result. I am able to change the other values like height and width, just not advertising. Below are some pertinent code blocks. Any thoughts, or advice would be helpful:
Scripts sourced Inside index.html file:
<script src="http://content.jwplatform.com/libraries/2glEqesD.js"></script> <!-- build:js(.) scripts/vendor.js --> <!-- bower:js --> <script src="bower_components/angular/angular.js"></script> <script src="bower_components/angular-animate/angular-animate.js"></script> <script src="bower_components/angular-cookies/angular-cookies.js"></script> <script src="bower_components/angular-resource/angular-resource.js"></script> <script src="bower_components/angular-route/angular-route.js"></script> <script src="bower_components/angular-sanitize/angular-sanitize.js"></script> <script src="bower_components/angular-touch/angular-touch.js"></script> <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script> <script src="bower_components/ng-jwplayer/jwplayer.js"></script> <!-- endbower -->
JS:
` var height = 270;
var width = 480;
var tag = 'http://vpod4q.qa.lijit.com/www/delivery/vst.php?zoneid=355131&u=sduggan';
$scope.options = {
height: height,
width: width,
advertising: {
type: 'vast',
tag: tag
}
}
$scope.playerSrc = $sce.trustAsResourceUrl('http://video1q.qadfw2.lijit.com/contentVideo.mp4');`
Directive tag in template:
<jwplayer ng-src="{{ playerSrc }}" player-options="options" player-id="myPlayer"> </jwplayer>
Inside an angular app with a yeoman scaffold. I set the advertising.tag value implicitly to the uri then a variable - same non result. I am able to change the other values like height and width, just not advertising. Below are some pertinent code blocks. Any thoughts, or advice would be helpful:
Scripts sourced Inside index.html file:
<script src="http://content.jwplatform.com/libraries/2glEqesD.js"></script> <!-- build:js(.) scripts/vendor.js --> <!-- bower:js --> <script src="bower_components/angular/angular.js"></script> <script src="bower_components/angular-animate/angular-animate.js"></script> <script src="bower_components/angular-cookies/angular-cookies.js"></script> <script src="bower_components/angular-resource/angular-resource.js"></script> <script src="bower_components/angular-route/angular-route.js"></script> <script src="bower_components/angular-sanitize/angular-sanitize.js"></script> <script src="bower_components/angular-touch/angular-touch.js"></script> <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script> <script src="bower_components/ng-jwplayer/jwplayer.js"></script> <!-- endbower -->JS:
` var height = 270;
var width = 480;
var tag = 'http://vpod4q.qa.lijit.com/www/delivery/vst.php?zoneid=355131&u=sduggan';
Directive tag in template:
<jwplayer ng-src="{{ playerSrc }}" player-options="options" player-id="myPlayer"> </jwplayer>