[Resolved] Not embed video with "–" in the code
I used your plugin and I found a bug.
I want embed this video: http://www.youtube.com/watch?v=SSi2JV–Auw
But your plugin read “SSi2JV–Auw” and it doesn’t embed it.
I fixed it! The solutions is:
File: youtube.php – line 697 and line 342:
$link = preg_replace('/\s/', '', $link);
$link = preg_replace('/\s/', '', $link); $link = str_replace('–\;', '--', $link); //without "\" (this editor read html code)
I don’t know if it is the best solution.
Please fix this bug.
- The topic ‘[Resolved] Not embed video with "–" in the code’ is closed to new replies.