The Wayback Machine - https://web-wp.archive.org/web/20140827053734/https://dev.twitter.com/discussions/15418

HTTPS streams in cards

parkan
@parkan Arkadiy Kukarkin

The Cards docs specify that all content (iframe, assets and stream) are required to be served over HTTPS:

https://dev.twitter.com/docs/cards (under "A Few Simple Rules")

However, currently approved twitter cards, e.g. this one from Soundtracking, do not follow this. For ex:

https://soundtracking.com/posts/50fdc6b81d283477ce000023.twitter

When you play the stream, the SSL lock breaks (orange warning) in every browser I've tested in.

Are we expected to wrap audio streams in SSL? It does not appear other developers do so currently.

1 year 25 weeks ago

Replies

romainhuet
@romainhuet Romain Huet

Hi Arkadiy,

Thanks for the question. While we recommend using HTTPS for all the resources, we understand it can be challenging for the actual video or audio streams. Our policy is that a Player Card should not generate active mixed content browser warnings at any point during the audio or video experience. In other words, the browser address bar must maintain a “secure” state. On Chrome, it means the yellow lock is accepted, while the red lock is not.

Please check out the last item on Cards Troubleshooting Guide about “Active Mixed Content/SSL” and let us know if we can help further.

19 weeks 1 day ago