This is a message.

Email this video - video link = null? Created Sep 2, 2010

This thread is solved

Views: 2008     Replies: 5     Last reply Sep 8, 2010  
You must login first before you can use this feature

ClausP

Posts: 37

Registered:
Aug 20, 2010

Email this video - video link = null?

Posted: Sep 2, 2010

I am trying to implement the viral plugin on flowplayer, but for some reason the text shown in the mail is:
Video Link: null

I have tried to edit the template, but it doesn't help at all.
Tried:

 email:
 {
   template: "{0} 

 Video {1} Link: {2}"
 }
Tested in Chrome and IE8 and on computers with Thunderbird and Outlook.

/Claus

ClausP

Posts: 37

Registered:
Aug 20, 2010

» Email this video - video link = null?

Posted: Sep 3, 2010

Reply to: Email this video - video link = null?, from ClausP
Anyone?

You can test it here:
http://www.spain-holiday.com/informations/videotest.asp?regionid=0

Anssi
Flowplayer Flash & video streaming developer

Posts: 1197

Registered:
Jul 24, 2007

» » Email this video - video link = null?

Posted: Sep 7, 2010

Reply to: » Email this video - video link = null?, from ClausP
This was a bug and was just fixed in our development version: http://flowplayer-releases.s3.amazonaws.com/info/dist.html

ClausP

Posts: 37

Registered:
Aug 20, 2010

» » » Email this video - video link = null?

Posted: Sep 7, 2010

Reply to: » » Email this video - video link = null?, from Anssi
It doesn't use the template text. It is the same static text no matter what I do?

My e-mail client is Thunderbird. It shows the full html code (a href), so the link doesn't work.

It also displays the content below the signature, but you are probably using a simple e-mail link with content, so there are probably nothing you can do about that?

/Claus

Anssi
Flowplayer Flash & video streaming developer

Posts: 1197

Registered:
Jul 24, 2007

» » » » Email this video - video link = null?

Posted: Sep 8, 2010

Reply to: » » » Email this video - video link = null?, from ClausP
The template needs to defined in a texts node like so:


 viral: {
                url: 'flowplayer.viralvideos-3.2.3-dev.swf',
                email: {
                    texts: {
                        template: "{0} Hoplaa Video {1} Link: {2}"
                    }
                }
            }

ClausP

Posts: 37

Registered:
Aug 20, 2010

» » » » » Email this video - video link = null?

Posted: Sep 8, 2010

Reply to: » » » » Email this video - video link = null?, from Anssi
Thank you, that worked.