We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AutoHtml::auto_html('foo http://www.youtube.com/watch?v=fT1ahr81HLw bar'){ youtube(:width => 400, :height => 240)}
=> "foo <iframe width="400" height="240" src="http://www.youtube.com/embed/fT1ahr81HLw\" frameborder="0" allowfullscreen></iframe>"
foo is there, but where is bar?
The text was updated successfully, but these errors were encountered:
how about, changing the youtube filter regexp to
/(https?)://(www.)?(youtube\.com\/watch\?v=|youtu\.be\/)([A-Za-z0-9_-]*)(\&\S+)?(.*)/
and appending $6 to the output?
Sorry, something went wrong.
+1
990127a
Fixed in version 1.5.1. Thanks for reporting the issue.
No branches or pull requests
AutoHtml::auto_html('foo http://www.youtube.com/watch?v=fT1ahr81HLw bar'){ youtube(:width => 400, :height => 240)}
=> "foo <iframe width="400" height="240" src="http://www.youtube.com/embed/fT1ahr81HLw\" frameborder="0" allowfullscreen></iframe>"
foo is there, but where is bar?
The text was updated successfully, but these errors were encountered: