May 4, 2011

Display ads only to embedded videos | Freeware Plugins | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Related Related Topics sp_TopicIcon
Display ads only to embedded videos
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
Tags: embed
May 26, 2015
1:29 am
Avatar
meguiso
Guest
Guests

Forgive me if i'm annoying admin, i know you are so patient and nice to your customers :) can you help me with my problem? I want to display the ads on embeds only not on the original video on my site. Tnx admin. Just like what xvideos did when you embed their videos to other sites there is a popup ad that will appear but when you stream through at their website that pop up doesn't show.

May 26, 2015
1:48 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Do you ask about the official docs on KVS Player JavaScript API?

May 26, 2015
3:22 am
Avatar
meguiso
Guest
Guests

I think there is a way to insert ads on embeded videos i just dont know how, when i was browsing the folder of the player i found the embed.xml file which contain the information of the player, logo, click url link, etc.. this is the code

<?xml version="1.0" encoding="UTF-8"?>
<general>
<setting>
<flashvar flv_stream="true"
adreplay="true"
logo_src="http://mysite.com/wp-content/uploads/2015/05/cooltext119062884141909.png"
logo_position="[0,0]"
logo_url="http://www.mysite.com"
video_click_url=""
hide_controlbar=""
mlogo=""
mlogo_link=""
permalink_url=""
related=""
related_data=""
adv_pre_src=""
adv_pre_duration=""
adv_pre_url=""
adv_post_src=""
adv_post_duration=""
adv_post_url=""
adv_pause_src=""
adv_pause_url=""
adv_stop_src=""
adv_stop_url=""
embed="1"
/>
</setting>
</general> 

Note: The logo doesn't show in the embedded player. The default embed.xml doesnt contain anything so even if i have added my logo on the admin panel of the kv pro player it will not show on the embedded video unless you edit the embed.xml and add some info just like what i did, i have added the logo url and logo click url and the logo works on the embeded player. 

Now my problem admin is where do i insert my html code or the div id of my ad? I know you can understand this since you are the one who made this awesome plugin. The xml doesn't specify the div element where i can put my div id for my ad or html code. Please reply asap.

May 26, 2015
6:31 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Login to see the quote

Please check this out: Login to see this link

May 26, 2015
8:12 am
Avatar
meguiso
Guest
Guests

I was referring to xml file of the embedded videos admin. I manage to decompile the player swf file but i can't make it to work. I tried = adv_pre_html=" <script> my ad script </script> " and adv_pre_html_id=" I inserted here the id of the div element that i made on the admin panel of the player( referring to advertisement settings at the main admin panel) ". The two doesn't work. However the videos that are not embedded are working perfectly on my site and my ads are displaying perfectly. I know it is possible to display ads on the embedded videos with some modifications to the swf file. Please help me :( the swf file is missing some functions about the html ads. I don't understand javascript, I have basic understanding on php but in javascript i'm completely lost.

May 26, 2015
8:27 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Please check out this doc with examples: Login to see this link

May 26, 2015
2:34 pm
Avatar
meguiso
Guest
Guests

I think this is what i was looking for. can you help me with this? i know nothing aabout javasccript if you can edit the code for me it would be nice :) , they said that there is a demo/float.xml on the player's files list but i don't see it in the player(mmaybe this is the key to my problem). Without ads on the embedded player would be a disaster for me, some webmasters will try to steal my content and get free bandwidth. I am hosting my own videos. I know you get my point :'(

May 26, 2015
2:50 pm
Avatar
meguiso
Guest
Guests

So i just discovered your secret admin hehe don't worry we will keep it as secret :) nvmd. just help me with the coding hehe.

May 26, 2015
2:51 pm
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Sorry but kt_player.swf is a black box to me (I'm not its author and literally have no idea what's inside). You can download the official distributive with that demo from here: Login to see this link

May 26, 2015
2:53 pm
Avatar
meguiso
Guest
Guests
10sp_Permalink sp_Print
0

If you try to decomplie it from an online decomplier you can see the insides of the code. Login to see this link

May 26, 2015
3:00 pm
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
11sp_Permalink sp_Print
0

I know what showmycode.com is, but I never de-compile the 3rd-party code if the sources are not publicly available or if the author does not openly allows that. I thought that's obvious.

Just FYI: KVS support is a member of this board.

May 26, 2015
3:02 pm
Avatar
meguiso
Guest
Guests
12sp_Permalink sp_Print
0

I apologize for my behavior admin :'( i just dont kno what to do with this

May 26, 2015
3:23 pm
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
13sp_Permalink sp_Print
0

Just forwarded your question to the Kernel Video Sharing team.

May 26, 2015
3:28 pm
Avatar
meguiso
Guest
Guests
14sp_Permalink sp_Print
0

ty for your patience admin. 

May 26, 2015
5:56 pm
Avatar
meguiso
Guest
Guests
15sp_Permalink sp_Print
0

Admin they replied to my ticket and they said:

Hello,

Embed code in the way you want to use it is obsolete. E.g. it will work only on Flash and not work on mobile devices.
For providing embed functionality it is better to use iframe code and open your page there. In this case you will be able to show the same ads as in normal mode.

Here is the example of embed code:
<iframe width="1280" height="559" src="http://ultimate-theme1.kvs-demo.com/embed/8" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>

If you look into page HTML source here:
Login to see this link

This is a normal HTML page with just only player. I don't know how you can create it on your software.

Best regards,
Kernel Team

..

I don't know this? :D help admin :)

May 27, 2015
3:27 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
16sp_Permalink sp_Print
0

They just told you it's not a good idea to do it in a way you want (embeds with XML config). They suggested to do it in a modern way - via iframes. However this will require some serious changes in the KVS Player Pro plugin. These modifications will take some time to be implemented. Right now I'm thinking on how to do it better.

May 28, 2015
4:46 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
17sp_Permalink sp_Print
0

The requested feature has been added in version 1.0009: Login to see this link

May 28, 2015
3:48 pm
Avatar
meguiso
Guest
Guests
18sp_Permalink sp_Print
0

wow just wow! ty so much admin ! i'm so happy!!! clapw00t

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
201 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2855

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1641

Posts: 8353

Newest Members:

samuel2288, comercios.cercademi, wanmarkets, torontomark48, info.ckmedianetwork, contact.mybeautystar

Administrators: CyberSEO: 3947