Dr. Katz
03-02-2010, 11:24 AM
Hello,
Forcing use of the new 'Insert Video' functionality, I replace my old video_id tags in posts executing this query on MySQL:
update post set pagetext = Replace(pagetext,'','http://www.youtube.es/watch?v=');
update post set pagetext = Replace(pagetext,'','');
But now, it's not appearing the embedded player till I manually edit each post. I noticed that the new code that is generated after editing looks like this:
http://www.youtube.com/watch?v=video_id
Therefore, for embedded player displaying I must expand the [video] tag with the parameters in bold, but I don't know what query I should run in mysql to capture the appropiate video_id from the URL...
I saw something like this (http://www.vbulletin.com/forum/showthread.php?306316-very-messy-BBcode-cleanup-need-cleaner-help), but I think it's not the case...
Thanks for your help!!!
Forcing use of the new 'Insert Video' functionality, I replace my old video_id tags in posts executing this query on MySQL:
update post set pagetext = Replace(pagetext,'','http://www.youtube.es/watch?v=');
update post set pagetext = Replace(pagetext,'','');
But now, it's not appearing the embedded player till I manually edit each post. I noticed that the new code that is generated after editing looks like this:
http://www.youtube.com/watch?v=video_id
Therefore, for embedded player displaying I must expand the [video] tag with the parameters in bold, but I don't know what query I should run in mysql to capture the appropiate video_id from the URL...
I saw something like this (http://www.vbulletin.com/forum/showthread.php?306316-very-messy-BBcode-cleanup-need-cleaner-help), but I think it's not the case...
Thanks for your help!!!