• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Help needed with AD units ,

Started by mmahtabsaleem,

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

mmahtabsaleemTopic starter

Hi , this is a wonderful script I needs some help about ad units ,

I embedded videos from youtube, Vimeo , and from other sites , but there is problem that JPlayer Ad Units are not showing on the embedded videos , but they show on the self hosted videos only in Jplayer ,

I wants to show Jplayer Adsunits like , Pre-Roll and Video anotations on the embeded videos from a custome embed code or from vimeo ,

I tried but , not working , do you have any solution for this ,

and more thing , that is it possible to play vimeo imported videos or any other embedded videos into costume player like JPlayer , by this ad units can be shown on the Jplayer in embedded videos ,
  •  

Marius P.

Hi, jPlayer doesn't support any type of embedded videos, just local mp4 files.
There is an ad overlay (but just this spot) for all the rest.
Once Video.js will be available in 4.0 the ad spots will become available for youtube and vimeo if played via Video.js (But careful, Youtube doesn't really allow placing ads over their videos.)
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!
  •  

mmahtabsaleemTopic starter

Quote from: @Mario on
Hi, jPlayer doesn't support any type of embedded videos, just local mp4 files.
There is an ad overlay (but just this spot) for all the rest.
Once Video.js will be available in 4.0 the ad spots will become available for youtube and vimeo if played via Video.js (But careful, Youtube doesn't really allow placing ads over their videos.)


Well that's a good news ,

Are you working on Vast or IMA option in Videos.js Player , or it will be available in near future , because its a needed feature for any running video site ,
  •  

Marius P.

Quote from: mmahtabsaleem on

Well that's a good news ,

Are you working on Vast or IMA option in Videos.js Player , or it will be available in near future , because its a needed feature for any running video site ,

We will be integrating any available solution, like this http://theonion.github.io/videojs-vast-plugin/
We also hope jPlayer will develop similar plugins and features for their product.
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!
  •  

mmahtabsaleemTopic starter

Waoo , that a very good news ,
Keep it up , and I am waiting for 4.0 ,

Thanks. . .
  •  

pumbany

How can I put advertising on the site and make money? What are the options?
  •  

Marius P.

Quote from: pumbany on
How can I put advertising on the site and make money? What are the options?

You have built in ads, built in ads manager, you can ad codes directly to the template...not sure what else you ask for
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!
  •  

nithushan8

please give a sample html ads code?i was used html iframe ads code but ads fully not showing up,only showing close button,

http://videozupload.com/videos/browse/

please wait 10 sec and tell me how to fix this issue
  •  

PHPVibe A.

This is not an complete ad code:

<script type="text/javascript" src="http://www.videozupload.com/Advertisement/ads1.js"></script>


Js needs at least a div to run on, so make sure you copy the full code from your ads provider.
You can test with https://jsfiddle.net/ the code previously to adding it to PHPVibe.

PHPVibe A.

Look here (but be aware is nsfw and adult):

http://www.misterdevil.com/video/5405/mofos-cute-girl-strips-for-her-bf/
It uses several iframe ads.

Iframe example code:

<iframe border=0 frameborder=0 marginheight=0 marginwidth=0 width=616 height=286 scrolling=no allowtransparency=true src=http://adserver.juicyads.com/adshow.php?adzone=326384></iframe>


Example html :

<img src='http://www.phpvibe.com/images/logo3.png'/><div class='holder'><a href='http://www.phpvibe.com' target='_blank'> Want a website like Videoinedit?</a>We use an amazing script called PHPVibe!</div>


Example Google adsense:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 1 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:320px;height:50px"
     data-ad-client="ca-pub-28xxxxxx9"
     data-ad-slot="6702961709"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

nithushan8

i placed
<iframe border=0 frameborder=0 marginheight=0 marginwidth=0 width=468 height=60 scrolling=no allowtransparency=true src=http://www.videozupload.com/Advertisement/ads.html></iframe>

this iframe code,but player ads closs buttion only showing up.how to fix this problem .please help me
  •  

PHPVibe A.

Quote from: nithushan8 on
i placed
<iframe border=0 frameborder=0 marginheight=0 marginwidth=0 width=468 height=60 scrolling=no allowtransparency=true src=http://www.videozupload.com/Advertisement/ads.html></iframe>

this iframe code,but player ads closs buttion only showing up.how to fix this problem .please help me

I can see those ads fine on your player. You should click "Clean cache" often.

nithushan8

alexander please sent me a screen sot for me?only showing up close buttion for me
  •  

PHPVibe A.

And they don't show now. Let me copy your iframe to my ads and see what the deal is.

PHPVibe A.

Ok, so the problem is your iframe contains js and that doesn't push the width and height.

Try this, drop this in any css file :

.plAd iframe,  .bAd iframe , .floating-video-ad iframe {
 position:relative!important;
 display:block;
 }


and in your iframe just wrap it with a div with style display:block

Btw, why are you not pasting the google adsende code directly into the ad field?
You have a pretty ugly looking encoded js in that iframe which clearly causes problems.

nithushan8

ok sir,i ill paced ads code directly,that is my mistake,
can you sent me a sample iframe ads code?

which css file i need to upload this script lines

.plAd iframe,  .bAd iframe , .floating-video-ad iframe {
position:relative!important;
display:block;
}

please tell me sir step by step
  •  

PHPVibe A.

Just replace /lib/players/ads.jplayer.css with a newly downloaded one.

I don't understand what you are doing, you've build an iframe for nothing, all you need is the original google adsense code and drop it in an ad field.

nithushan8

dear sir,what is the place i need to put your code ads.jplayer.css  file? star or end?

i need to place many 3rd party ads with iframe type manual adserver
  •  

PHPVibe A.

Just replace /lib/players/ads.jplayer.css with a newly downloaded one. I've patched the version in the store.

You can also do this
<iframe src="http://www.videozupload.com/Advertisement/ads.html" width="700" height="400" align="left" 
frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="width:700px!important;height:400px!important;position:relative!important">
</iframe>


nithushan8

i need to download new phpvibe?please give me updated link sir
  •  

PHPVibe A.


nithushan8

  •  

PHPVibe A.


nithushan8

sir,sorry fore the inconvenience,,

http://videozupload.com/add-video

upload a video file not working?how can i upload videos on my pc to my site? please tell me how to fix this bug
  •  

PHPVibe A.

Quote from: nithushan8 on
sir,sorry fore the inconvenience,,

http://videozupload.com/add-video

upload a video file not working?how can i upload videos on my pc to my site? please tell me how to fix this bug

You have pieces of patches. How about you upgrade your site fully to patch 12?
You have older version of the template files, and jquery errors because of that.

Similar topics (7)