Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Brid.debug = true;
- $("video[id^='video']").each(function (i, el) {
- var posterImage = el.poster +'?width='+ $(window).width();
- var primaryColor = "#e20074";
- var videoId = el.id;
- var bridId = "brid-" + el.id;
- var videoSrc = el.src;
- $('<div id="'+bridId+'" class="brid"></div>').insertAfter('#'+videoId);
- var player = $bp("#"+bridId, {"id":"16843", "width":"16", "height":"9", "primaryColor":primaryColor, "autoplay":0, "share":"video", "video":{"image":"", "source":{"src":videoSrc}}, "adSDK":["brid"],
- "translate":{"ima_locale":"ro", "loading_ad":"Se încarcă reclama...", "advertisement":"Reclamă", "ad_will_start":"Reclama va începe în curând", "skip_ad":"Sari peste", "toggle_play":"Rulează/Pauză", "toggle_fullscreen":"Mărește/micșorează ecran", "play":"Rulează Video-ul", "share":"Partajează video-ul", "playlist":"Vezi lista", "pause":"Pauză", "repeat":"Repetă", "close":"Închide", "embed_code":"Încorporare Cod", "share_link":"Partajare link", "share_link_copied":"Link copiat", "share_on":"Share activat"
- }}, function (){
- var ad = {
- "adTagUrl": ZTR_GetVAST20Url(),
- "adType": "0", // preroll
- "adTimeType": "s",
- "overlayStartAt": null,
- "overlayDuration": null,
- "cuepoints": null
- }
- this.setAd(ad);
- });
- });
- document.blockSimultaneousPlay = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement