You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
ngJWPlayer just passes the whole object to the low level jwplayer setup function. I don't have any experience with ads but I would suggest confirming you have the proper license for ads. You may require a premium license. If you do have it, try creating a small HTML and JS as shown in examples and confirm that works. In short, i don't think this is related to this directive.
It works if I "crash" the video player, ie by adding an undefined argument in a log statement. Otherwise, It appears that the video plays before the ad tag has a chance to load.
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>
The text was updated successfully, but these errors were encountered: