Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#26 2012-04-11 12:08:42

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Ok then, why were they not working for Pornhub videos?  I thought I had it configured correctly.  Furthermore, if the embed code did not have wmode in it, how does the video display over the embed?  Furthermore, can someone help me clarify, what is the difference between CSV import, Embed, and Upload videos.  It was my understanding from the forums that ads would not display over videos that were using embed code from PornHub and the likes, i.e. this being their code:

<object type="application/x-shockwave-flash" data="http://cdn1.static.pornhub.phncdn.com/flash/embed_player.swf" width="608" height="476">
    <param name="movie" value="http://cdn1.static.pornhub.phncdn.com/flash/embed_player.swf" />
    <param name="bgColor" value="#000000" />
    <param name="allowfullscreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="FlashVars" value="options=http://www.pornhub.com/embed_player.php?id=269627"/>
</object>

This resides in my db.  If the ad display is currently built-in to RC4, how do you get it to work other than what I did?

Last edited by THS (2012-04-11 12:18:06)

Offline

#27 2012-04-11 13:42:04

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Hmm...that embed code should have wmode transparent. The code itself for embedding pornhub videos adds the wmode transparent parameter. I've got it working with CSS (absolute) /JS. However i just realised that current pornhub/keez and some other sites embeds are iframes, so i have to test with that too, before releasing 1.0.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#28 2012-04-11 20:01:10

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Yeah, what I get from RedTube, PornHub, xHamster, etc. does not have that after import.  Consequently, the built-in ad overlay system never worked for me.  I wrote the SQL script to do the proper addition and conversion of embeds, as PornHub has changed the way they do theirs <object><embed></object> vs. pure <object><param></object> which was causing a conflict with wmode.  My solution is pure JS and CSS as well and has been profitting me nicely since I implemented it yesterday.  In addition, it will work with iframes or anything else as long as it is stored in the embed_code field of #_video.

Either way, my solution or yours I am happy to finally have ads overlayed on my non-hosted videos.

Offline

#29 2012-04-11 20:45:13

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Oki. Cant wait to see how it works :-)


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#30 2012-04-11 21:01:10

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Check it out, its currently up at http://www.thehiddenshelf.com - just click on any video and mouse over the video - it pops up.  Do let me know if I am replicating functionality already there.  If thats the case, I will pull my code and just run my scripts to insure that wmode is added to the videos.  I wrote it so that it will only update those that do not have it.  For over 300K videos, it took about 19 seconds to run.

Offline

#31 2012-04-12 06:16:26

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Well you are not replicating the exactly functionality. The current Embedded Overlay Advertising appears automatically after the entire page is loaded over the flash player, so basically yours appears on mouse over and the one included in the script appears automatically after 1-2 seconds (once all the javascript is loaded).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#32 2012-04-12 12:58:12

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

But just confirming, yours would work with my vids as long as I run the script to add wmode, right?  Is the script supposed to be adding wmode?

Offline

#33 2012-04-12 18:47:02

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Yes, the script is supossed to add wmode. The current ads are working Check http://www.tubefoo.com to see.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#34 2012-04-12 20:19:53

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Hmmm..well, it didn't for me (RC4) for CSV import from redtube, xhamster, and pornhub.  I have a SQL script that adds it regardless of where its from or its format.

Offline

#35 2012-04-12 20:39:12

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

THS wrote:

Hmmm..well, it didn't for me (RC4) for CSV import from redtube, xhamster, and pornhub.  I have a SQL script that adds it regardless of where its from or its format.

out of topic but i am getting some errors on your related videos
http://www.thehiddenshelf.com/327500/co … sex-video/


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#36 2012-04-12 22:52:34

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Yeah, I have been having that problem.  I can't figure it out.  That is a good one that really shows what is happening.  I will look at the related sql query again.

Offline

#37 2012-04-13 05:52:37

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Ahh..THS...i understand why there is no wmode for you. You used the Mass CSV importer to add videos from redtube, xvideos, pornhub, however that module was not designed for this and it doesnt add the wmode automatically sad The Mass Embedder does. Checking the related videos now.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#38 2012-04-13 05:53:34

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Erm...the bug is fixed in 1.0, however if you want to fix you need to add DISTINCT (eg: SELECT DISTINCT v.video_id,....) to the related query in modules/video/components/view.php


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#39 2012-04-13 13:29:28

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

That fixed the related videos - thanks!  Well for those that do use the CSV importer to embed thousands of videos at one shot, you will need to go back and add wmode to your embed_code.  If you want a SQL statement to do it post-facto, email me and I will send it your way.

Offline

#40 2012-04-29 01:15:39

cybra
Member
From: U.S Carolinas
Registered: 2012-02-15
Posts: 117
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

symtab wrote:

This is done tested and working in 1.0. Embed changed from the old embed with object to iframe, example:

<iframe src="http://localhost/asp/modules/video/player/embed.php?id=2863" frameborder="0" border="0" scrolling="no" width="660" height="500"></iframe>

It supports all types of player advertising (old object/embed one, only supported in-media video/image advertising), including the HTML/Javascript Overlay One.


Hey so where do you put this line of code exactly? Also how can I tell what version I have? I bout the script at the end of March. I seen this working on one of my friends sites http://hoodamateurs.com so how and when can it be available for everyone?

Last edited by cybra (2012-04-29 01:16:42)

Offline

#41 2012-04-29 02:39:31

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

You are not on 1.0 as it has not been released so this code will not work for you.

Offline

#42 2012-04-29 02:50:39

cybra
Member
From: U.S Carolinas
Registered: 2012-02-15
Posts: 117
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Hmm.

Offline

#43 2012-04-29 02:58:11

cybra
Member
From: U.S Carolinas
Registered: 2012-02-15
Posts: 117
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

THS wrote:

You are not on 1.0 as it has not been released so this code will not work for you.

Ok so if 1.0 has not been released as you said. Ok let me clearify my question. There is obviously a code that works on other versions. http://hoodamateurs.com/2963/now-this-w … l-stacked/ Now I know he paid to have that done, but if it is going to made available free, can't the code just be posted here so we can use it?

Offline

#44 2012-04-29 06:27:20

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

Are you trying to have overlays over videos hosted on your server or videos that are embedded, i.e. the database holds embed code for another server?  Either way, these are already built into RC4 (which you should have), it might just require some tweaking as stated in this thread.  Symtab can't release all the code here as its a lot of steps to implement and could break a lot of other things.  It would take more time to help those people that chose to implement an alpha feature than it is worth.  It is better to wait, have the script fully developed, and then release a fully working version.

Offline

#45 2012-04-29 06:28:02

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

The code is not directly compatible with 1.0RC4, it requires some modifications. It will be available in 1.0.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#46 2012-04-29 09:01:08

cybra
Member
From: U.S Carolinas
Registered: 2012-02-15
Posts: 117
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

I basically have the code already but the only thing is the ad is on top of the player. http://www.shegotass.info/6764/cherokee … damn-time/ It's functioning like it's supposed to when you hit the close and play button,well link in my case because the button not thee either, but everything else works.

It seems like Im not missing much so I was asking for the code to see what I have wrong. I modified the video view template, and created the /modules/video/player/flowplayer.ads-1.0.0.js file already.

Offline

#47 2012-04-29 09:53:05

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Flash Player Overlay HTML/Javascript Ads (juicy,blacklabel,adxpansion)

It is not that simple, there are like 4-5 files that need to be edited. There is a new template plugin, a template is modified, new js file, new flowplayer config options....It will be released in 1.0, probably as a separate plugin.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB