I noticed on import all my [youtube=YOUTUBE-URL] tags are no longer embedded video. Perhaps you could leverage the emfield module to do the processing?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | wordpress_import-644900.patch | 1.12 KB | kmonty |
I noticed on import all my [youtube=YOUTUBE-URL] tags are no longer embedded video. Perhaps you could leverage the emfield module to do the processing?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | wordpress_import-644900.patch | 1.12 KB | kmonty |
Comments
Comment #1
kmontyOr perhaps convert it to the video filter shorthand: http://drupal.org/project/video_filter
Comment #2
kmontyAttached is a patch that processes wordpress code to work with the video_filter module. Please note that this is a starting point ONLY because it does not address all allowed embed short codes (it only used the ones I needed to import). It also makes no notice anywhere in the code / README of the functionality being available.
That said you could probably commit as-is with just a little additional documentation without any complaints.
Comment #3
lavamind commentedThanks for the patch, I will review this as soon as I can. If others could also test this, it would be appreciated.
I think we could apply this patch but it should also be documented absolutely as this introduces an (optional) dependency.
Comment #4
sampaioprimo commentedHi kmonty,
There is a standard for Wordpress video tags?
I saw that your patch expect them to be [vimeo=url] but in my Wordpress installation the syntax is [vimeo]url[/url].
I'm using Viper's Video Quicktags plugin.
Thanks, Rodrigo.