Advertisement:

Author Topic: YouTube BBC Tag (XHTML Compliant)  (Read 210440 times)

Offline chep

  • Jr. Member
  • **
  • Posts: 338
    • Traditional Archer
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #140 on: February 13, 2007, 08:01:16 PM »
Hi, does it works with 1.1.2?

Thanks

Works for me. I use the Black Rain theme so I had to modify the youtube.gif with a white background. Otherwise it looked weird. Steal it if someone needs it...

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #141 on: February 13, 2007, 08:52:41 PM »
Hi, does it works with 1.1.2?

Thanks

Indeed, it does.

Offline webmistress

  • Semi-Newbie
  • *
  • Posts: 83
    • Forum for customers and potential customers
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #142 on: February 13, 2007, 09:46:22 PM »
I was not able to make this work on my forum. I have classic and there is no modifications.english.php file.  

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #143 on: February 14, 2007, 01:10:09 AM »
I was not able to make this work on my forum. I have classic and there is no modifications.english.php file. 

My mod should make changes to only the default theme's Modifications.english.php file.  As long as your custom theme lacks this file, it should function as intended.

Offline webmistress

  • Semi-Newbie
  • *
  • Posts: 83
    • Forum for customers and potential customers
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #144 on: February 14, 2007, 09:23:09 AM »
I'll try again. I kept getting a blank screen. By the way, the files are .wmv files. Do these work with the youtube tags? And I have to put in http:// because the file is not located on the same host file system.  

Offline Sinan-Trr

  • Newbie
  • *
  • Posts: 6
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #145 on: February 14, 2007, 09:53:48 AM »
Help Me It Shows Black:
hxxp:turk.hotserv.dk/index.php?topic=19.0 [nonactive]
I dont Know Why I Have The Icon That Allows To "Look" Youtube Clips...
 

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #146 on: February 14, 2007, 01:04:30 PM »
Help Me It Shows Black:
http://turk.hotserv.dk/index.php?topic=19.0
I dont Know Why I Have The Icon That Allows To "Look" Youtube Clips...

Guests can't access that topic.

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #147 on: February 14, 2007, 01:05:57 PM »
I'll try again. I kept getting a blank screen. By the way, the files are .wmv files. Do these work with the youtube tags? And I have to put in http:// because the file is not located on the same host file system. 

Uh, if the movie file is hosted on YouTube, it shouldn't matter.  Just in case you don't know, you have to upload the video to YouTube first before embedding it in the post.

Offline Sinan-Trr

  • Newbie
  • *
  • Posts: 6
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #148 on: February 14, 2007, 01:27:34 PM »
Help Me It Shows Black:
hxxp:turk.hotserv.dk/index.php?topic=19.0 [nonactive]
I dont Know Why I Have The Icon That Allows To "Look" Youtube Clips...

now u can :-)
Guests can't access that topic.

Offline webmistress

  • Semi-Newbie
  • *
  • Posts: 83
    • Forum for customers and potential customers
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #149 on: February 14, 2007, 03:19:09 PM »
Thank you Marlon. THere is actually more about you tube than I realized. I guess I need to tackle that part first.

By the way, you were very polite in your answer. It's appreciated.
« Last Edit: February 14, 2007, 03:29:59 PM by webmistress »

Offline DreamSinger

  • Semi-Newbie
  • *
  • Posts: 28
    • Keeping the Dream
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #150 on: February 14, 2007, 09:06:33 PM »
Hi, first thank you for this mod. I'm really excited about its possibilities.

I installed it through smf package manager, and it seems to work okay in IE7, although I did notice when loading my pages I see the $txt['youtube'] = 'YouTube'; text in the upper left hand corner. But my background is black, so the text gets hidden as soon as the color loads.

In Firefox, of which I have the latest edition, for some reason the video freezes. It appears, but you can't click on it to make it play.

My theme apparently doesn't have the post.template.php file, only my default theme does.

Any help in this would be greated appreciated. I've read through this entire thread, and my head is spinning, but I do want to understand what I can do to make this work.

Also, I can't preview the post in either browsers, but I can save it, and then the video will appear. When I try to preview it just goes into "fetching" mode, and the bar at the bottom of my screen says "Done", but nothing else happens.

Thank you for your help!

[EDIT] I took down the attachment for the modifications.english.php, because I finally got it working. Two files were overwritten correctly, I think, but the modifications file just needed to have the code placed before the closure and not after. That took care of the code at the top of the page plus my Preview function started working again (after I had discovered that it didn't work for the video post or my regular posts before)

But it still doesn't work in my Firefox brower and in IE7, I need to click on the arrow twice to get it to work, and when I do it opens a new window to the YouTube site, as well as loads it in my post.
 
« Last Edit: February 15, 2007, 01:39:59 AM by DreamSinger »

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #151 on: February 14, 2007, 10:31:59 PM »
now u can :-)

Thanks.  Would you mind posting the contents of that post for me?

Offline DreamSinger

  • Semi-Newbie
  • *
  • Posts: 28
    • Keeping the Dream
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #152 on: February 15, 2007, 12:25:13 AM »
Marlon, I went looking through my files and I found quite a few files that have been renamed with a ~at the end. Not only the files that were supposed to be modified but others i wouldn't have thought would have been affected.

In the default/languages folder there are duplicate files and the ~ on one of each duplicate for modsettings.english.php, manageboards.english.php, login.spanish.php, login.german.php,  login.english.php, login.dutch.php, index.spanish.php, index.german.php, index.english.php, index.dutch.php, errors.spanish.php, errors.german.php, errors.english.php, errors.dutch.php.

In the sources folder there's a bunch more.

Are these duplicates with the ~ ? Can they be deleted or what do I do with them?



 

Offline Sinan-Trr

  • Newbie
  • *
  • Posts: 6
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #153 on: February 15, 2007, 08:28:03 AM »
now u can :-)

Thanks.  Would you mind posting the contents of that post for me?

hxxp:turk.hotserv.dk/index.php?topic=19.0 [nonactive]

[youtube=425,350]http://www.youtube.com/watch?v=c8rO4AslIAQ[/youtube]

Offline DreamSinger

  • Semi-Newbie
  • *
  • Posts: 28
    • Keeping the Dream
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #154 on: February 15, 2007, 08:38:49 AM »
Quote
http://turk.hotserv.dk/index.php?topic=19.0

[youtube=425,350]http://www.youtube.com/watch?v=c8rO4AslIAQ[/youtube]

Try entering only the last part of the URL c8rO4AslIAQ beteen the youtube codes.

Offline Sinan-Trr

  • Newbie
  • *
  • Posts: 6
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #155 on: February 15, 2007, 09:32:15 AM »
Quote
hxxp:turk.hotserv.dk/index.php?topic=19.0 [nonactive]

[youtube=425,350]http://www.youtube.com/watch?v=c8rO4AslIAQ[/youtube]

Try entering only the last part of the URL c8rO4AslIAQ beteen the youtube codes.

It Worked Alot Of Thanks :-)
Cant Say In Words :-)

Offline DreamSinger

  • Semi-Newbie
  • *
  • Posts: 28
    • Keeping the Dream
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #156 on: February 15, 2007, 09:45:49 AM »
 :)

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #157 on: February 15, 2007, 01:25:48 PM »
Marlon, I went looking through my files and I found quite a few files that have been renamed with a ~at the end. Not only the files that were supposed to be modified but others i wouldn't have thought would have been affected.

In the default/languages folder there are duplicate files and the ~ on one of each duplicate for modsettings.english.php, manageboards.english.php, login.spanish.php, login.german.php,  login.english.php, login.dutch.php, index.spanish.php, index.german.php, index.english.php, index.dutch.php, errors.spanish.php, errors.german.php, errors.english.php, errors.dutch.php.

In the sources folder there's a bunch more.

Are these duplicates with the ~ ? Can they be deleted or what do I do with them?

Yes, they are your previous file versions renamed with a ~.  Removing them at your own discretion should not be an issue.  :)

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #158 on: February 15, 2007, 01:27:28 PM »
Just thought I'd inform anyone that doesn't already know...

YES, this mod is in fact compatible with SMF version 1.1.2.  :)

Offline webmistress

  • Semi-Newbie
  • *
  • Posts: 83
    • Forum for customers and potential customers
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #159 on: February 15, 2007, 03:46:22 PM »
This is so cool! It was super easy once I realized it had to be uploaded to the youtube website. So I had to get past major league el stupido naive mode and then it was a piece of cake.