I don't use the embed video option because i have been afraid that i won't get any ad revenue.. from pop under
I tried to give it a try recently, at the top of _embed.php i put in
<?php
include("ads.php");
?>
and inside ads.php
i put in my pop under advertising code, which begins with
<script type="text/javascript">
bunch of stuff here like
var pop
var blah =
</script>
so then on a seperate domain, i created test.html and i put in the embed code like this
<iframe src="http://mydomain.com/plugins/mediaplayer/site/_embed.php?u=rq&w=640&h=320" frameborder="0" scrolling="no" style="width: 640px; height: 416px; overflow: hidden;" webkitAllowFullScreen="true" mozallowfullscreen="true" allowFullScreen="true"></iframe>
so when you load test.html , the embed video box is there, but when you cilck on the video box to hit play, or anywhere on the page, it does not load the pop under code
But yet, the same pop under code, i have in place for the media player regularily.. so when you visit http://mydomain.com/videoURLhere , and hit play on the video box, the pop under window does load and show up..... but not on embed video
If I visit the direct URL of the embed video, like this: http://mydomain.com/plugins/mediaplayer/site/_embed.php?u=rq&w=640&h=320 then it DOES load the pop under....... but only then
how can i get the pop under to load, with using the embed code ? not having to visit the direct url
in my ads.php i tried 2 different pop under codes from 2 different networks.. both didnt load.. but if i visit the embed url directly it does load the pop under, but thats not realistic or feasible since people will be using my embed code, not the direct embed url
I tried to give it a try recently, at the top of _embed.php i put in
<?php
include("ads.php");
?>
and inside ads.php
i put in my pop under advertising code, which begins with
<script type="text/javascript">
bunch of stuff here like
var pop
var blah =
</script>
so then on a seperate domain, i created test.html and i put in the embed code like this
<iframe src="http://mydomain.com/plugins/mediaplayer/site/_embed.php?u=rq&w=640&h=320" frameborder="0" scrolling="no" style="width: 640px; height: 416px; overflow: hidden;" webkitAllowFullScreen="true" mozallowfullscreen="true" allowFullScreen="true"></iframe>
so when you load test.html , the embed video box is there, but when you cilck on the video box to hit play, or anywhere on the page, it does not load the pop under code
But yet, the same pop under code, i have in place for the media player regularily.. so when you visit http://mydomain.com/videoURLhere , and hit play on the video box, the pop under window does load and show up..... but not on embed video
If I visit the direct URL of the embed video, like this: http://mydomain.com/plugins/mediaplayer/site/_embed.php?u=rq&w=640&h=320 then it DOES load the pop under....... but only then
how can i get the pop under to load, with using the embed code ? not having to visit the direct url
in my ads.php i tried 2 different pop under codes from 2 different networks.. both didnt load.. but if i visit the embed url directly it does load the pop under, but thats not realistic or feasible since people will be using my embed code, not the direct embed url