Page 1 of 1

Youtube films and IE7 error

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

Re: Youtube films and IE7 error

Posted: Mon 22. Feb 2010, 20:44
by pepe
Try an HTML ContentPart

Re: Youtube films and IE7 error

Posted: Mon 22. Feb 2010, 22:07
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]

Re: Youtube films and IE7 error

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

Re: Youtube films and IE7 error

Posted: Mon 22. Feb 2010, 22:45
by dellos
oki, I will try the videoplayer.php tommorow, thanx for TIP.

Re: Youtube films and IE7 error

Posted: Tue 23. Feb 2010, 09:12
by dellos
Some movies are working and some aren't...

and aren't working... is there a reason why some films arn't working ??

Re: Youtube films and IE7 error

Posted: Tue 23. Feb 2010, 09:17
by dellos
next ones not working:



I'm only geting the text [youtube]... there isnt any video :(

Re: Youtube films and IE7 error

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

Re: Youtube films and IE7 error

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

Re: Youtube films and IE7 error

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

Re: Youtube films and IE7 error

Posted: Tue 23. Feb 2010, 10:48
by pepe
:D

Re: Youtube films and IE7 error

Posted: Tue 23. Feb 2010, 11:20
by Oliver Georgi
the underscore in YouTube code is new.

Re: Youtube films and IE7 error

Posted: Wed 24. Feb 2010, 06:27
by juergen
seems like they needed new instances caused by too much participation