The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index General discussions FirstFrame.png problem

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
JBailey
 
Posts: 4
Joined: Wed Apr 27, 2011 11:10 pm

Postby JBailey » Wed Apr 27, 2011 11:29 pm

Hi,

I am trying to embed a Camtasia video in a Serendipity blog post. It works mostly but, I am unable to get the FirstFrame.png to display.

I enter this into the Entry Body.


Code: Select all
            <object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="480" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">
                <param name="src" value="http://example.site.com/psd/GBIDI/Banner_And_Logo_Images/Video/FormatPublishingInTeradata/FormatPublishingInTeradata_controller.swf"/>
                <param name="bgcolor" value="#1a1a1a"/>
                <param name="quality" value="best"/>
                <param name="allowScriptAccess" value="always"/>
                <param name="allowFullScreen" value="true"/>
                <param name="scale" value="showall"/>
                <param name="flashVars" value="autostart=false#&thumb=FirstFrame.png&thumbscale=45&color=0x1A1A1A,0x1A1A1A"/>
                <embed name="csSWF" src="http://example.site.com/psd/GBIDI/Banner_And_Logo_Images/Video/FormatPublishingInTeradata/FormatPublishingInTeradata_controller.swf" width="640" height="480" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=false&[b]thumb=http://example.site.com/psd/GBIDI/Banner_And_Logo_Images/Video/FormatPublishingInTeradata/FirstFrame.png[/b]&thumbscale=45&color=0x1A1A1A,0x1A1A1A" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
            </object>


Serendipity is changing the value I entered for thumb=.

Thumb is being set to
thumb=FirstFrame.png

The video plays fine.


Any advice you can give me is greatly appreciated.

User avatar
garvinhicking
Core Developer
 
Posts: 28944
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu Apr 28, 2011 1:30 pm

Hi!

You might need to use a absolute path like thumb=/path/to/FirstFrame.png instead? And I don't understand exactly what you enter, and to what serendipity changes it?

It would be good if you can give a URL where this can be seen.

Which serendipity markup plugins do you have installed? Do you enter your text with a WYSIWYG editor, or with the plain interface?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

JBailey
 
Posts: 4
Joined: Wed Apr 27, 2011 11:10 pm

Postby JBailey » Thu Apr 28, 2011 2:10 pm

Hi Gavin,

Thanks so much for taking a look at this.

I did have an absolute path entered in the HTML. When I view source from my browser the value of thumb= reverts to FirstFrame.png. The path is removed. I can't tell if this is something that Serendipity is doing or if it is a caching issue. I will experiment with the cache when I get to work today.

I can't post a link because this site is behind a corporate firewall.

Best wishes,
Jeff

User avatar
garvinhicking
Core Developer
 
Posts: 28944
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu Apr 28, 2011 3:23 pm

Hi!

Okay; I would go about trying to insert some other characters into the blog posting to see if your changes take effect. Also do check the event plugins that are installed, there might be plugins interfering. Especially the "s9ymarkup" plugin could cause changes in HTML markup...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

JBailey
 
Posts: 4
Joined: Wed Apr 27, 2011 11:10 pm

Postby JBailey » Thu Apr 28, 2011 4:15 pm

Hi Garvin,

More info:

Works in Chrome...
Works in FireFox...

Dosn't work in IE...

Best wishes,
Jeff

JBailey
 
Posts: 4
Joined: Wed Apr 27, 2011 11:10 pm

Postby JBailey » Thu Apr 28, 2011 4:22 pm

Fixed it!

IE uses <embed src= ... and I failed to see that one. I added my link to that tag and it works.

I had added the link to the <PARAM NAME ... which is why it worked for Chrome and FireFox...

Thanks Garvin! I would not have fixed this without your help!

Best wishes,
Jeff

User avatar
garvinhicking
Core Developer
 
Posts: 28944
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Mon May 02, 2011 12:59 pm

Hi!

Good work! I wouldn't have thought on this on my own as well. :_)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/



Return to General discussions

Who is online

Users browsing this forum: No registered users and 0 guests