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

Seznam Email adds Youtube embeds after a Youtube link #110

Open
hteumeuleu opened this issue Feb 21, 2022 · 0 comments
Open

Seznam Email adds Youtube embeds after a Youtube link #110

hteumeuleu opened this issue Feb 21, 2022 · 0 comments
Labels
Other clients Samsung, SFR, Orange, T-Online, Onet, …

Comments

@hteumeuleu
Copy link
Owner

The desktop webmail of the Czech provider Seznam.cz adds full Youtube embeds after a link to a Youtube video, right inside the HTML code. The following code…

<a href="http://www.youtube.com/watch?v=i6ft4GcaNPE">Un Zombie Dingo</a> sur <a href="http://www.youtube.com/user/WaltDisneyStudiosFR/search?query=Mickey+Mouse+Episode+int%C3%A9gral">Youtube</a>

…is transformed by Seznam Email into:

<div class="body apply-styles" lang="en">
	<a href="http://www.youtube.com/watch?v=i6ft4GcaNPE" target="_blank" rel="noopener">Un Zombie Dingo</a>
	<iframe style="display:block" src="//www.youtube.com/embed/i6ft4GcaNPE" width="640" height="390" frameborder="0"></iframe> 
	sur <a href="http://www.youtube.com/user/WaltDisneyStudiosFR/search?query=Mickey+Mouse+Episode+int%C3%A9gral" target="_blank" rel="noopener">Youtube</a>
</div>

This is problematic as it is very likely to break the reste of your email. Adding the following style in the <head> of the email to hide the iframe solves the problem.

a + iframe { display:none !important; }

This reminds me of a very old similar issue with the french mobile webmail of La Poste.

@hteumeuleu hteumeuleu added the Other clients Samsung, SFR, Orange, T-Online, Onet, … label Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Other clients Samsung, SFR, Orange, T-Online, Onet, …
Projects
None yet
Development

No branches or pull requests

1 participant