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 » Mon 22. Feb 2010, 20:42

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 » Mon 22. Feb 2010, 20:44

Try an HTML ContentPart

User avatar
Oliver Georgi
Site Admin
Posts: 9604
Joined: Fri 3. Oct 2003, 22:22
Location: Moscow, Russia
Contact:

Re: Youtube films and IE7 error

Post by Oliver Georgi » Mon 22. Feb 2010, 22:07

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 » Mon 22. Feb 2010, 22:21

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 » Mon 22. Feb 2010, 22:45

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 » Tue 23. Feb 2010, 09:12

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 » Tue 23. Feb 2010, 09:17

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 » Tue 23. Feb 2010, 09:39

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 » Tue 23. Feb 2010, 09:58

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 » Tue 23. Feb 2010, 10:02

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 » Tue 23. Feb 2010, 10:48

:D

User avatar
Oliver Georgi
Site Admin
Posts: 9604
Joined: Fri 3. Oct 2003, 22:22
Location: Moscow, Russia
Contact:

Re: Youtube films and IE7 error

Post by Oliver Georgi » Tue 23. Feb 2010, 11:20

the underscore in YouTube code is new.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон

User avatar
juergen
Moderator
Posts: 4553
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Youtube films and IE7 error

Post by juergen » Wed 24. Feb 2010, 06:27

seems like they needed new instances caused by too much participation

Post Reply