Not embed video with "–" in the code
-
Good afternoon,
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);replace with:
$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.
Thanks,Valentina
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Not embed video with "–" in the code’ is closed to new replies.