Related Topics


[Video CMS v4]How to add Pre start AD video with Easy Video Play  (Read 1562 times) Print

1 B


dimafabor  December 07, 2014, 02:02:59 PM

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

Code
 //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"


Logged


@Mario  December 07, 2014, 02:55:44 PM

Hi! Yes, they've added this to the player, we will build the admin support for it.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


dimafabor  December 07, 2014, 09:44:28 PM

Hi Mari

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



Logged


@Mario  December 08, 2014, 03:07:46 PM

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.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


prat  March 15, 2015, 03:44:03 PM

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

Code
 //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

Logged


turegardes.com  March 15, 2015, 04:44:31 PM

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

Logged


prat  March 15, 2015, 07:02:07 PM

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

Logged


turegardes.com  March 16, 2015, 04:48:03 AM

Hi

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

-->Settings-->Players config
|
|_
   \Choose Jplayer
newbielink:http://www.hostingpics.net/viewer.php?id=592950871.png [nonactive]

Then you go to
-->ADS-->Create jPlayer AD and fill the form
newbielink:http://www.hostingpics.net/viewer.php?id=233805252.png [nonactive]
newbielink:http://www.hostingpics.net/viewer.php?id=675067562.png [nonactive]
newbielink:http://www.hostingpics.net/viewer.php?id=552787683.png [nonactive]

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 newbielink:http://stackoverflow.com/questions/7281765/youtube-iframe-embed-auto-play [nonactive]

Logged


prat  March 16, 2015, 12:04:42 PM

Hi

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

-->Settings-->Players config
|
|_
   \Choose Jplayer
newbielink:http://www.hostingpics.net/viewer.php?id=592950871.png [nonactive]





Then you go to
-->ADS-->Create jPlayer AD and fill the form
newbielink:http://www.hostingpics.net/viewer.php?id=233805252.png [nonactive]
newbielink:http://www.hostingpics.net/viewer.php?id=675067562.png [nonactive]
newbielink:http://www.hostingpics.net/viewer.php?id=552787683.png [nonactive]

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 newbielink:http://stackoverflow.com/questions/7281765/youtube-iframe-embed-auto-play [nonactive]


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

Logged


prat  March 16, 2015, 01:06:26 PM

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....

Logged


turegardes.com  March 16, 2015, 06:22:55 PM

OK give a few hours so can i check this for you

Logged


prat  March 16, 2015, 06:56:10 PM

OK give a few hours so can i check this for you

Thank you very much..

Logged