Providing more information:
phpbb version of my site: 3.1.9
My site: http://www.puntadelanza.net/Foro/phpBB3/
My old BBcode was like that:
Code: Select all
[youtube]http://{TEXT1}youtube.com/watch?v={TEXT2}[/youtube]
Code: Select all
<object width="640" height="385"><param name="movie" value="http://{TEXT1}youtube.com/v/{TEXT2}&version=2"></param><param name="wmode" value="transparent"></param><embed src="http://{TEXT1}youtube.com/v/{TEXT2}&version=2" type="application/x-shockwave-flash" wmode="transparent" width="640" height="385"></embed></object>
I went through ACP and changed my BBcode in the wat that JoshyPHP has posted:
Code: Select all
[youtube]{IDENTIFIER}[/youtube]
Code: Select all
<iframe width="640" height="360" src="https://www.youtube.com/embed/{IDENTIFIER}" frameborder="0" allowfullscreen></iframe>
Not sure if because, all my videos are linked by http instead of https....
Not sure, but they are not working.
Do you have any clue on that issue?..... It will help a lot.
I was wandering about to attack php_post table in the database, with someting like that:
Code: Select all
UPDATE `phpbb_posts` SET `post_text` = REPLACE(`post_text`, '[youtube]http://www.youtube.com/watch?v=', '[youtube]');
Many thanks