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

Bridgy Publish to Flickr: ignore fallback content inside video tags #612

Closed
tantek opened this issue Jan 25, 2016 · 3 comments
Closed

Bridgy Publish to Flickr: ignore fallback content inside video tags #612

tantek opened this issue Jan 25, 2016 · 3 comments
Labels

Comments

@tantek
Copy link
Contributor

tantek commented Jan 25, 2016

Minor nit, not sure of the best way to fix this:
This POSSE copy: https://www.flickr.com/photos/tantek/24235088549/
starts with the text "a video", which is from inside the <video> tag with u-video.

According to HTML5, if a user agent (browser, crawler - Bridgy's HTML parsing code in this case) supports the video tag, then it must ignore the content inside, since that's only for browsers / UAs that don't support the video tag.

Alternatively you could pushback and say Bridgy requires no text content inside video tags, which is a bit limiting for publishers, but may actually be the 90%+ case (no idea, just guessing).

@snarfed
Copy link
Owner

snarfed commented Jan 25, 2016

good point! thanks for filing.

@tantek
Copy link
Contributor Author

tantek commented Jan 26, 2016

Looks like the "Preview" view when manually submitting a URL to POSSE on https://brid.gy/flickr/39039882@N00# still starts with "a video".

And still seems to get published with "a video" text from inside the

@snarfed
Copy link
Owner

snarfed commented Jan 26, 2016

fixed. thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants