Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share plugin #38

Open
jarodium opened this issue May 26, 2014 · 0 comments
Open

Share plugin #38

jarodium opened this issue May 26, 2014 · 0 comments
Labels

Comments

@jarodium
Copy link

Hello there

I would like to ask some help on what it must be done to make the share links set properly.
I have followed the link at http://www.projekktor.com/board/index.php?id=22629 and ended like the code below:

shareTIT = "Televisão do Sul - "+$(this).children("img").attr("alt");          
shareURL = BASE+"video/"+cp;

playlist = [{
    0:{src:VBASE+'ad.mp4', type: 'video/mp4'},    
        config: {
            disablePause: true,
            disallowSkip: true              
       }
},
{
        0:{src:VBASE+cp+'.mp4', type: 'video/mp4'},
    config : {
        plugin_share : {
            links: {
                'twitter': {
                         code: '<'+'if'+'rame id="%{embedid}" src="http://twitter.com/share?url='+shareURL+'&text='+shareTIT+'" width="640" height="385" frameborder="0"><'+'/if'+'rame>',
                                }                               
                            }
                        }   
                    }
                } 
            ];

I always end with 'I found a cool HTML5 video player. Check this out: http://www.projekktor.com via @projekktor' when sharing with twitter

Thank you in advance.

Best regards
Pedro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants