Youtube films and IE7 error

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Youtube films and IE7 error

Post by dellos »

When I put the film code from Youtube to article using WYSWiG and saving it, I see the film's under the IE6 but using IE7 i get blank frame and the movie isn't showing. Where is error ?? Hove to repair it ??
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Re: Youtube films and IE7 error

Post by pepe »

Try an HTML ContentPart
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Youtube films and IE7 error

Post by Oliver Georgi »

Check template/inc_script/frontend_render/disabled/ and move the file videoplayer.php one dir up to frontend_render.

Only use BBcode style tag like this:

Code: Select all

[youtube]5EjTMvSgP0o[/youtube]
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Re: Youtube films and IE7 error

Post by pepe »

phpwcms ist mittlerweile eine richtige "WUNDERTÜTE" geworden :lol:

Erstaunlich, was sich da so alles auf dem Grund der Tüte findet... :shock:
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Re: Youtube films and IE7 error

Post by dellos »

oki, I will try the videoplayer.php tommorow, thanx for TIP.
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Re: Youtube films and IE7 error

Post by dellos »

Some movies are working and some aren't...

and aren't working... is there a reason why some films arn't working ??
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Re: Youtube films and IE7 error

Post by dellos »

next ones not working:



I'm only geting the text [youtube]... there isnt any video :(
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Re: Youtube films and IE7 error

Post by pepe »

Inside the keynumbers are "_" signs...have a look into the code:
$content['all'] = preg_replace_callback('/\[(youtube|sevenload)\]([a-zA-Z0-9\-]{1,32})\[\/(youtube|sevenload)\]/', 'show_videoplayer', $content['all']);
Maybe there is the mistake???
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Re: Youtube films and IE7 error

Post by dellos »

Video title: ISDE 2007 Chile - Day 6 Highlights
code on site:
link to film: http://www.youtube.com/watch?v=OtYrgV_t8AY

as You see, the "_" is in link to movie ? So there must be a mestake in the videoplayer.php hove to add the "_" in script ??
dellos
Posts: 67
Joined: Thu 25. Jan 2007, 18:18

Re: Youtube films and IE7 error

Post by dellos »

Oki, all started to working just changed:

Code: Select all

$content['all'] = preg_replace_callback('/\[(youtube|sevenload)\]([a-zA-Z0-9\-]{1,32})\[\/(youtube|sevenload)\]/', 'show_videoplayer', $content['all']);
to

Code: Select all

$content['all'] = preg_replace_callback('/\[(youtube|sevenload)\]([a-zA-Z0-9\-_]{1,32})\[\/(youtube|sevenload)\]/', 'show_videoplayer', $content['all']);
so the bug is off... in next phpwcms version the videoplayer.php should have the bug removed :)
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Re: Youtube films and IE7 error

Post by pepe »

:D
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Youtube films and IE7 error

Post by Oliver Georgi »

the underscore in YouTube code is new.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Youtube films and IE7 error

Post by juergen »

seems like they needed new instances caused by too much participation
Post Reply