Video Card


#1

We modified the code of our video embed and stopped working.
The OK url is: http://www.streamvdn.com/embed/53fbd8c8
THE KO url is: http://www.streamvdn.com/dev2/?embed=53fbd8c8

We check the differences and modifying the DOM we see that the difference is the attribute sandbox of the iframe that Twitter creates.
On the OK url the Twitter iframe is:

<iframe src="https://www.streamvdn.com/embed/53fbd8c8&amp;target=twitter" frameborder="0" scrolling="no" allowtransparency="true"></iframe>

On the KO url the Twitter iframe is:

<iframe src="https://www.streamvdn.com/dev2/?embed=53fbd8c8&amp;target=twitter" frameborder="0" scrolling="no" allowtransparency="true" sandbox="allow-popups allow-same-origin allow-scripts"></iframe>

With the url OK on the iframe that generates on url KO the video not load as the url OK:

<iframe src="https://www.streamvdn.com/embed/53fbd8c8&amp;target=twitter" frameborder="0" scrolling="no" allowtransparency="true" sandbox="allow-popups allow-same-origin allow-scripts"></iframe>

The problem is that not load the object flash. And the question is: why is twitter adding sandbox on iframe? Is there any way to delete the sandbox attribute?

Thanks


Player Card bug
#2

I am not able to view the video in full screen. Can you please add the allowfullscreen tag also in iframe?

Regards,
Amarjit


#3

Hi,

Same problem here.
In our case, cards was displaying just fine before, and are suddenly broken due to this new sandbox attribute in IFrame (we also have a flash player). No modification in code or cards urls.
We also have another validated domain on which the exact same video player js code produces non broken cards (iframe does not contains the broking sandbox attribute).
So, it looks like twitter migrates video cards domains progressively. Very worrying… does that means flash player will not be allowed in twitter cards?
I would understand some security concerns, but at least, would be great to announce something and let some time for card publishers to adapt.

@cristiandou: did you find a workaroud?


#4

Hi everyone,

I wanted to let you all know that I have made the Cards team aware of this issue and they will investigate. A followup will be posted as soon as I know more.

Related post: Player Card bug
Tracking internally as PREL-12914


#5

I still can not find the solution. And the solution that OMGUrOnline post in the other question not work for me :frowning:


#6

The Cards team identified the issue and it has been resolved. I tested a couple of URLs, but please confirm that your Player Cards are now working.