Help With Embedded Video

Found a bug? Tell us!!
Post Reply
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Help With Embedded Video

Post by Maccsta »

Hi!

I'm using some embedded flash videos in my blog posts and they work fine in IE7, however when I try to view the posts in Mozilla Firefox the embedded video is missing!

Someone checked my code and said serendipity is changing this code causing some of the tags to be removed. Anyway I can get round this?
I really need the video to show in Firefox.

Thanks in advance for any help :)
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Help With Embedded Video

Post by garvinhicking »

Hi!

Well, your URL would be required to help you. None of the three porn sites of your footer seem to be s9y powered, and because of the content I didn't really click through all of them. :)

Generally, if it works in IE7 then my guess is that you just forgot to use some <embed> alternative HTML tag to make it work in Firefox. Remember that IE7 and FF need different HTML to work: http://www.w3schools.com/media/media_browservideos.asp

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/
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Re: Help With Embedded Video

Post by Maccsta »

garvinhicking wrote:Hi!

Well, your URL would be required to help you. None of the three porn sites of your footer seem to be s9y powered, and because of the content I didn't really click through all of them. :)

Generally, if it works in IE7 then my guess is that you just forgot to use some <embed> alternative HTML tag to make it work in Firefox. Remember that IE7 and FF need different HTML to work: http://www.w3schools.com/media/media_browservideos.asp

Regards,
Garvin
Hi Gavin,

Thanks for the reply :). This is a blog entry here:

http://www.theassdaddy.com/index.php?/a ... SSIES.html

I have pasted the code as it was displayed by the sponsor and it works fine in IE7. In Mozilla it's just blank. I just don't get it!!! Thanks
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Help With Embedded Video

Post by garvinhicking »

Hi!

Okay, like I mentioned your code only includes the '<object>' tag, not the 'embed' tag. The latter is required by firefox to embed videos. '<object>' alone only works in IE. This is not a serendipity problem, but a problem of the different HTML versions to embed media files. Please check out google to see how the code needs to look like in firefox (or check my link above, I think it mentioned it as well)

Best 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/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

This is not the complete truth, I guess. The HTML Area editor shiped with s9y is doing a code change here. If I enter the object/embed code using FF and HTML Area, everything works just fine, but if I load the article with IE using the HTML Area editor, too, the code is changed: The embed tag inside the object code is missing now..
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Post by Maccsta »

blog.brockha.us wrote:This is not the complete truth, I guess. The HTML Area editor shiped with s9y is doing a code change here. If I enter the object/embed code using FF and HTML Area, everything works just fine, but if I load the article with IE using the HTML Area editor, too, the code is changed: The embed tag inside the object code is missing now..
Yeah I'm still having problems with it.
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Hmm.. Allthough HtmlArea seems to change the code depending on in wich browser the editor is used, I don't get any problems while displaying the embedded object. It is displayed in FF 2.0.0.5 and IE 7 (newest version I guess).

I tested it with YouTube code, too, and my plugin_event_podcasteasy plugin, I didn't release yet. My easy podacting plugin is doing it's job without using the editor, it changes output code directly, so this is not your scenario. But the YouTube scenario should be the same as yours.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Re: Help With Embedded Video

Post by Maccsta »

garvinhicking wrote:Hi!

Okay, like I mentioned your code only includes the '<object>' tag, not the 'embed' tag. The latter is required by firefox to embed videos. '<object>' alone only works in IE. This is not a serendipity problem, but a problem of the different HTML versions to embed media files. Please check out google to see how the code needs to look like in firefox (or check my link above, I think it mentioned it as well)

Best regards,
Garvin
Hi Gavin I'm still not having any luck with this. Serendipity is changing the code for these videos in the posts because when I put the same videos on a static page they show fine in Mozilla. Like here (scroll down a bit!):
http://www.awesomesexblog.com/index.php ... ideos.html

Any suggestions?

Thanks
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Both done wit the same editor (HTML Area in your case)? Do you add exactly the same HTML code to the static page as you entered it to the article? Or is it somehow different?

In the meantime, I changed to TinyMCE. This editor allows to disable any "fixing" of HTML code. Now I have no problems at all with editors removing object/embed tags. Perhaps this is a solution for you, too, as I doubt, s9y is removing your embed tag anyhow. It is the editor. You can test it: Switch of WYSIWYG, enter the object/embed code in the textarea and look, if it is vanishing, if you display your article inside of your blog.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Post by Maccsta »

blog.brockha.us wrote:Both done wit the same editor (HTML Area in your case)? Do you add exactly the same HTML code to the static page as you entered it to the article? Or is it somehow different?

In the meantime, I changed to TinyMCE. This editor allows to disable any "fixing" of HTML code. Now I have no problems at all with editors removing object/embed tags. Perhaps this is a solution for you, too, as I doubt, s9y is removing your embed tag anyhow. It is the editor. You can test it: Switch of WYSIWYG, enter the object/embed code in the textarea and look, if it is vanishing, if you display your article inside of your blog.
Hey mate thanks alot I got it to work. If i put in the raw video code in and don't switch back to WYSIWYG it doesn't alter any of the embeded video code. Now the video is showing in FF. I can do any formatting adjustments in Dreamweaver instead!

Thanks ;)
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Okay. This means: Your WYSIWYG editor is killing your video code. I would recomend to switch the HTML editor to TinyMCE (it' a plugin available for that) and switch of "verify html". With this solution you will have a WYSIWYG editor that is'nt deleting your video code.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Post by Maccsta »

blog.brockha.us wrote:Okay. This means: Your WYSIWYG editor is killing your video code. I would recomend to switch the HTML editor to TinyMCE (it' a plugin available for that) and switch of "verify html". With this solution you will have a WYSIWYG editor that is'nt deleting your video code.
Yeah thanks for the suggestion, i might have a look at intalling it in the near future. I do most of my posts through Dreamweaver so it's not a massive problem really.
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
Post Reply