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

<video> tags in profile pages get escaped and can't be used. #767

Open
ryliejamesthomas opened this issue Dec 16, 2017 · 1 comment
Open

Comments

@ryliejamesthomas
Copy link

I'm getting the same problem as per closed issue #675 when Adding a self-hosted video to my profile page (old, solved issue is regarding game pages).

This:

<video width="560" height="315" controls>
	<source src="http://blueberrysoft.ryliejamesthomas.net/files/BBSoft_1280x720_yt-dl.webm" type="video/webm">
	<source src="http://blueberrysoft.ryliejamesthomas.net/files/BBSoft_1280x720_yt-dl.mp4" type="video/mp4">
	Looks like your browser doesn't support the video tag? Try this URL http://blueberrysoft.ryliejamesthomas.net/files/
</video>

is getting turned into this:

<video>
	&lt;source src=&quot;http://blueberrysoft.ryliejamesthomas.net/files/BBSoft_1280x720_yt-dl.webm&quot; type=&quot;video/webm&quot;&gt;
	&lt;source src=&quot;http://blueberrysoft.ryliejamesthomas.net/files/BBSoft_1280x720_yt-dl.mp4&quot; type=&quot;video/mp4&quot;&gt;
	Looks like your browser doesn&#x27;t support the video tag? Try this URL http://blueberrysoft.ryliejamesthomas.net/files/
</video>

It renders fine in the preview, BTW! Though it seems to want to mess with controls attribute, which either gets a ="" appended, or gets stripped out entirely.

@ryliejamesthomas ryliejamesthomas changed the title <video> tags in <video> tags in game profile pages get escaped and can't be used. Dec 16, 2017
@ryliejamesthomas ryliejamesthomas changed the title <video> tags in game profile pages get escaped and can't be used. <video> tags in profile pages get escaped and can't be used. Dec 19, 2017
@ryliejamesthomas
Copy link
Author

Was wondering if this was ever addressed. Seems to have flown under the radar :(

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

No branches or pull requests

1 participant