Is it possible to get the youtube plugin to detect if the string contains a '=' symbol and strip it and everything before it out and after (if applicable with & of course), I think this will solve most of the problems with people using the tags incorrectly all the time (users will never learn -jaded spergin' tech).
It does some auto-correcting at the moment, but it's limited (no regular expressions, just literals, and it applies to the whole page).
Can I get an example of typical clueless use of the tag?
It does some auto-correcting at the moment, but it's limited (no regular expressions, just literals, and it applies to the whole page).
Can I get an example of typical clueless use of the tag?
__________________
Usually people shoving in the full url, or with http:// I have seen, and of course local version of youtube (which you can also strip, the same id's will work on normal youtube).
I was thinking that on submit, say you get something like this:
http://www.youtube.com/watch?v=TGxBT...eature=chan nel
Search for the first instance of '=' and '&' in the string, then use this info to ...
Usually people shoving in the full url, or with http:// I have seen, and of course local version of youtube (which you can also strip, the same id's will work on normal youtube).
I was thinking that on submit, say you get something like this:
http://www.youtube.com/watch?v=TGxBT...eature=chan nel
...
Added more auto-corrections so both examples work correctly now. Takes some dedication to take the time to strip the http:// yet leave the rest :/
Since I'm limited to full string search and replace, there's not much more that can be done without getting into Hack County. Thanks for the help!
yo baldrick I think you might have a problem in some of the code, check out the "link" url on this baby, it's buggered!
http://www.forumopolis.com/showpost....&postcount= 143
Just checked... looks like Toby copypasted the wrong snippet, and put the whole embedding code as ID? The embedded video shouldn't work either, but it seems that Youtube is smart and auto-corrects it.
Late to the party on this, but is it possible to imbed time indexes into the youtube link? Something like:
http://www.youtube.com/watch?v=3ebhSWYsHMk#t=2m52s
so that when you open it, it jumps to 2 minutes 52 seconds.
Just checked... looks like Toby copypasted the wrong snippet, and put the whole embedding code as ID? The embedded video shouldn't work either, but it seems that Youtube is smart and auto-corrects it.
Late to the party on this, but is it possible to imbed time indexes into the youtube link? Something like: http://www.youtube.com/watch?v=3ebhSWYsHMk#t=2m52s so that when you open it, it jumps to 2 minutes 52 seconds.
That already works with the current code, the difference is that YouTube's embed code uses a different method for jumping around than the links do. When you link to a YouTube video, you would do it like this: Code: [ youtube ]3ebhSWYsHMk&start=172[ /youtube ] Signally that you want the video to start playing 172 seconds, or 2 minutes 52 seconds, into the clip: - Link The problems are that the time-code link...
Thread profile page for "youtube tags and retard fallbacks" on http://www.forumopolis.com.
This report page is a snippet summary view from a single thread "youtube tags and retard fallbacks", located on the Message Board at http://www.forumopolis.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity