Questions regarding facebook embeds

Seek help running and customizing Nuevoplayer Please do not post bug reports, or feature requests here.

Questions regarding facebook embeds

Postby maXXX » Mon Jul 18, 2011 11:36 pm

First of all - I just purchased the Nuevo-Player and its pretty impressive!

Im running an AVS-script but without Adult-content ;)
After installing the script step by step the embed-code under the video didnt change to nuevos-embed-code.
Double checked the video.tpl - the code is in there and at the correct line:
Code: Select all
{include file="video_embed_nuevoplayer.tpl"}

I just edited the video_embed_vplayer.tpl with the code from video_embed_nuevoplayer.tpl to get this working...

I also need to know what I have to set for facebook-embeds. With the previous player it was:
Code: Select all
<meta property="og:video" content="http://domain.com/media/player/player.swf?f=http://domain.com/media/player/config_embed.php?vkey=32" />


But it doesnt work that way with the nuevo-player :)

I also need the related videos at the end of the player to open in target _blank is it possible to set this up somewhere?

Thanks
maXXX
 
Posts: 7
Joined: Mon Jul 18, 2011 11:08 pm

Re: Questions regarding facebook embeds

Postby dargre » Tue Jul 19, 2011 3:58 pm

Concerning embed code on template: don't forget to clear templates and browser's cache.
Changes you made may not be visible until you clear cache.

Concerning facebook player SWF.
You can redownload Nuevoplayer archive (not installation archive but only player.swf + plugins/graphs.swf)
This version works with "?config=xxxx" added to swf URL. Of course you must set it first.

FInally concerning guide videos and click target window - there is hidden flashvar "guide_target".
If set - it decides of window target.
SO for example in php config file of the player you can add:
Code: Select all
print "<guide_target>_blank</guide_target>\n";
Thank you,
Nuevolab Team
dargre
 
Posts: 332
Joined: Mon Sep 07, 2009 3:47 am

Re: Questions regarding facebook embeds

Postby maXXX » Tue Jul 19, 2011 5:09 pm

I downloaded the nuevoplayer archive just yesterday - I think I have the actual verson?

Edited something here... because it was my mistake!

I added the code
Code: Select all
print "<guide_target>_blank</guide_target>\n";

to my config.php in media/nuevo/config.php but it didnt change the target. Where exactly do I have to add it?

=========================
Another thing I just stumbled over:
When the url is pretty long (long title of video) the nuevo-player cuts it - so when someone clicks they will be redirected to
http://videos.fb-wahnsinn.com/error/video_missing

Urls in general are served like this:
http://videos.fb-wahnsinn.com/video/8ba ... diskussion instead of
http://videos.fb-wahnsinn.com/video/8/b ... diskussion

Thanks in advance for your help :)
Last edited by maXXX on Tue Jul 19, 2011 9:19 pm, edited 1 time in total.
maXXX
 
Posts: 7
Joined: Mon Jul 18, 2011 11:08 pm

Re: Questions regarding facebook embeds

Postby dargre » Tue Jul 19, 2011 9:03 pm

Concerning links, I think you mean links for guide videos.
You may check file "guide.php", there is a line (twice):
Code: Select all
$link=$config['BASE_URL']."/video/".$row['VID'].clean_seo_text($row['title']);

try to change it to:
Code: Select all
$link = $config['BASE_URL']. '/video/' .$row['VID']. '/'.clean_title($row['title']);

and best move it above the line:
Code: Select all
$title = clr($row['title']);

It was also already updated in downloads section for AVS1 and AVS2 scripts.

Concerning rest - I don't think you uploaded current available "player.swf" and "plugins/graphs.swf" files.
Thank you,
Nuevolab Team
dargre
 
Posts: 332
Joined: Mon Sep 07, 2009 3:47 am

Re: Questions regarding facebook embeds

Postby maXXX » Tue Jul 19, 2011 9:27 pm

I just bought the player yesterday... so I think the install Nuevoplayer v.5.0 for AVS v.2.x and nuevoplayer v.5.01 (2011-07-04) are the actual ones... I never had any other nuevoplayer anywhere...
I edited as you said - its working correct now - Thanks :)

The Player is playing on facebook with the ?config= - so that was my mistake - IT WORKS! :)

Still dont know where to insert the
Code: Select all
print "<guide_target>_blank</guide_target>\n";
maXXX
 
Posts: 7
Joined: Mon Jul 18, 2011 11:08 pm

Re: Questions regarding facebook embeds

Postby maXXX » Tue Jul 19, 2011 9:55 pm

I just downloaded the player again and yup its another version now...
Also downloaded the AVS 2.x install again but seems to be the same I downloaded yesterday... anyway uploaded it again.
So I got it to work on facebook, but there is another problem... when you click on menu it doesnt center in the player but sticks to the upper left corner:
Image
You can try it yourself on this public post I made on facebook:
http://www.facebook.com/dirk.pollmann/p ... 0016827640
maXXX
 
Posts: 7
Joined: Mon Jul 18, 2011 11:08 pm

Re: Questions regarding facebook embeds

Postby dargre » Tue Jul 19, 2011 10:25 pm

This issue appears when you use latest player.swf but outdated graphs.swf.

Always download current version when I say it (sometimes I change it several times during the day).
Nuevoplayer5 is very fresh version so with each user's report I update it.
Then be sure that you uploaded:
1. player.swf to "nuevo" directory
2. graphs.swf to "nuevo/plugins" directory.
Thank you,
Nuevolab Team
dargre
 
Posts: 332
Joined: Mon Sep 07, 2009 3:47 am

Re: Questions regarding facebook embeds

Postby maXXX » Tue Jul 19, 2011 10:37 pm

Thanks A LOT somehow I forgot to re-upload that one :)
btw check this post again:
http://www.facebook.com/dirk.pollmann/p ... 2041857361
Click on menu and then click on one of the related videos... its opening in a new window!
Maybe Pablo_br will understand now why I was so 'ignorant' and 'stupid' ;)

Again:

Thanks a lot for your support! - I will recommend you and your Player!
maXXX
 
Posts: 7
Joined: Mon Jul 18, 2011 11:08 pm

Re: Questions regarding facebook embeds

Postby dargre » Tue Jul 19, 2011 10:53 pm

FB links probably wouldn't work with default avs player I think. It's flash AS2, while Nuevoplayer is AS3 and is using completely different URL call.

BTW. There is one more small isue with menu bar that I'm working on, but you probably won't even notice it as it occurs in very specific situation. Anyway I will surely resolve it asap.
Last edited by dargre on Tue Jul 19, 2011 10:56 pm, edited 1 time in total.
Thank you,
Nuevolab Team
dargre
 
Posts: 332
Joined: Mon Sep 07, 2009 3:47 am

Re: Questions regarding facebook embeds

Postby maXXX » Tue Jul 19, 2011 10:55 pm

I think facebook found a way to block SWF to open in same window... thats why I wanted to have it open in target _blank ;)
If it would be possible to set the AVS-Player to target _blank it would work with it also.
maXXX
 
Posts: 7
Joined: Mon Jul 18, 2011 11:08 pm


Return to Troubleshooting & 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 0 guests