Banshee, the secure PHP framework

Forum

Cannot embed Youtube video

samiux
4 February 2018, 22:54
Version : 6.1 on Ubuntu 16.04.3

When I embed Youtube video in Banshee, it cannot display. I use Hiawatha as well.

Any idea?
Hugo Leisink
5 February 2018, 10:31
No. Perhaps you did the embedding wrong?
samiux
5 February 2018, 10:55
I copied from the Youtube site. The area is blanked and no video can be displayed.
samiux
5 February 2018, 15:22
I tried to embed Vimeo video and it is failed to display the video too.

Joe Schmoe
5 February 2018, 16:28
This seems familiar. Does it have anything to do with the security headers in libraries/core/view.php?
Hugo Leisink
5 February 2018, 17:18
Good point Joe, that might be it. Samiux, uncomment the header() instruction for the Content-Security-Policy header. It's somewhere around line 611.
samiux
5 February 2018, 17:53
Hugo and Joe,
Thanks.