Support » Plugin: YouTube » Not embed video with "–" in the code

  • Resolved valedtz


    Good afternoon,
    I used your plugin and I found a bug.
    I want embed this video:–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('&#8211\;', '--', $link); //without "\" (this editor read html code)

    I don’t know if it is the best solution.
    Please fix this bug.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author embedplus


    Hi there Valentina,

    Thanks for your constructive feedback! We analyzed the code and implemented a similar solution but with some modifications. You (and all users) should upgrade to the latest version (currently 8.1).

    -EmbedPlus Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not embed video with "–" in the code’ is closed to new replies.