Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix youtube iframe on HTTPS websites #133

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

baptistejamin
Copy link

No description provided.

Youtube enables now HTTPS by default. This fix allows appending the iframe on HTTPS websites
Copy link

@verenion verenion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This successfully fixed the issues we were having.

@djejaquino
Copy link

Will this ever be merged?

@hendore
Copy link

hendore commented Nov 2, 2017

Until this is merged, you can override the settings when initialising the plugin.

$(function() {
  $("#bb-editor").wysibb({
    allButtons: {
      video: {
        transform: {
          '<iframe src="https://www.youtube.com/embed/{SRC}" width="640" height="480" frameborder="0"></iframe>':'[video]{SRC}[/video]'
        }
      }
    }
  });
});```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants