[ Video Sharing CMS v4 ] How to add Pre start AD video with Easy Video Play

Started by dimafabor,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dimafaborTopic starter

Hello

To add a pub video commercial add you can add this code in the file

class.providers.php

search the line
lib/players/easyvideoplayer/java/FWDEVPlayer.js"></script>

and add at the bottom

//ads
openNewPageAtTheEndOfTheAds:"no",
adsVideoSourcePath:"/file.mp4",
adsButtonsPosition:"right",
adsPageToOpenURL:"http://www.yourdomain.com",
adsPageToOpenTarget:"_blank",
adsThumbnailPath:"image",
skipToVideoText:"You can skip to video in: ",
skipToVideoButtonText:"Skip Ad",
timeToHoldAds:4,
adsTextNormalColor:"#999999",
adsTextSelectedColor:"#FFFFFF",
adsBorderNormalColor:"#666666",
adsBorderSelectedColor:"#FFFFFF"


  •  

Marius P.

Hi! Yes, they've added this to the player, we will build the admin support for it.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

dimafaborTopic starter

Hi Mari

Good news i wish if they add js/html content ad in future


  •  

Marius P.

Easy Video Player is still an pretty bad choice for two reasons:
1. Is really heavy
2. Is not jquery (so we can't edit it for you guys, always depending on the developer).

Video.js coming with 4.0 may be a better choice for Youtube videos as player.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

prat

Quote from: dimafabor on
Hello

To add a pub video commercial add you can add this code in the file

class.providers.php

search the line
lib/players/easyvideoplayer/java/FWDEVPlayer.js"></script>

and add at the bottom

//ads
openNewPageAtTheEndOfTheAds:"no",
adsVideoSourcePath:"/file.mp4",
adsButtonsPosition:"right",
adsPageToOpenURL:"http://www.yourdomain.com",
adsPageToOpenTarget:"_blank",
adsThumbnailPath:"image",
skipToVideoText:"You can skip to video in: ",
skipToVideoButtonText:"Skip Ad",
timeToHoldAds:4,
adsTextNormalColor:"#999999",
adsTextSelectedColor:"#FFFFFF",
adsBorderNormalColor:"#666666",
adsBorderSelectedColor:"#FFFFFF"



Hey dimafabor

Can you help me dimafabor I added this code but my ads is not working please help to rectify this

Regards
  •  

turegardes.com

Hi Prat i use now video.Js i recommand it but if ou insist i will check this code for you today
  •  

prat

Quote from: dimafabor.com on
Hi Prat i use now video.Js i recommand it but if ou insist i will check this code for you today

Hey I dont have any problem using video.js but I want to incorporate video pre roll ads in this script if you have any player code which can start video ads than please share with me.. video.js is also fine

regards
  •  

turegardes.com

Hi

to make a pre roll ads you must choose Jplayer from Admin(moderator)Page:

-->Settings-->Players config
|
|_
   \Choose Jplayer


Then you go to
-->ADS-->Create jPlayer AD and fill the form




for my i embedded a video from youtube but you can make you own video with html
for setting as hide control player etc you find it on youtube .

if you want that ad video player start auto

take a look http://stackoverflow.com/questions/7281765/youtube-iframe-embed-auto-play
  •  

prat

Quote from: dimafabor.com on
Hi

to make a pre roll ads you must choose Jplayer from Admin(moderator)Page:

-->Settings-->Players config
|
|_
   \Choose Jplayer






Then you go to
-->ADS-->Create jPlayer AD and fill the form




for my i embedded a video from youtube but you can make you own video with html
for setting as hide control player etc you find it on youtube .

if you want that ad video player start auto

take a look http://stackoverflow.com/questions/7281765/youtube-iframe-embed-auto-play


Thank you very much brother you made my day now can you tell me how to make "skip this and play" menu will come after few seconds... can you tell me how i can use this in video. js player???

thanks once again
  •  

prat

As run ad in jplayer in per-roll it show the skip this and play...  how we can make that show after second we chose it like 30 second than it show skip this and play....
  •  

turegardes.com

  •  

prat

  •  

Similar topics (7)