-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Card - Attachments
-
None
-
Severity 3 - Minor
Issue Summary
Previewing mp4 video files is broken.
The issue can be reproduced in this public board: https://trello.com/c/rk3aU0xe/10-mp4
Steps to Reproduce
- Attach a mp4 video to a card
- Click on the attachment to preview it
Expected Results
The previewer lets you play the video
Actual Results
The previewer opens but it does not allow you to play the video
The console log shows the following error:
Loading media from 'https://files.trello.com/6942fa3a3c59c9e16e86bea4/6945747faab5a7f8dd24c001/19749b796092a58bc9920acd13b218ee/file_example_MP4_640_3MG.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9maWxlcy50cmVsbG8uY29tLzY5NDJmYTNhM2M1OWM5ZTE2ZTg2YmVhNC82OTQ1NzQ3ZmFhYjVhN2Y4ZGQyNGMwMDEvMTk3NDliNzk2MDkyYTU4YmM5OTIwYWNkMTNiMjE4ZWUvZmlsZV9leGFtcGxlX01QNF82NDBfM01HLm1wNCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NjE2MDYwMH0sIkRhdGVHcmVhdGVyVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzY2MTU5OTk5fX19XX0_&Key-Pair-Id=K28SYADB5F0657&Signature=qWonYxXSH4HoGTgQl8~viLqpn~adhGVRzpBnlrlW5ZupTwixcCkkuvmLc8JFALj-c1htjNnGHCr-AgZ5OFa8k~pPvx4JtW88x92~x3tczLkni8MQYKLPj61FVnEzhs1zi2FSX-ZcuzCb96l0dJCqDSq3zeS0jDp6AqDIx2bXN75V6hP~wEr6rqPWkwHd8qygvQ~DRT28FmUuMPuaAtFDZ6IzLJG3y3D9kV5-W~xUa2Xs9QtioPmdMe9oQuo~3z~xT-lJ-Vl-H7k4x4cE~6awucH74tq-Xnryl-WH916ZMdh6u1Vw3WkDnZT1dnb6MfF-H3IL02wwPTErIX59LoHIQQ__' violates the following Content Security Policy directive: "default-src 'self'". Note that 'media-src' was not explicitly set, so 'default-src' is used as a fallback. The action has been blocked.
Workaround
The "Open in a new tab" and "Download" works. So it's still possible to watch the video.