Skip to content

Commit

Permalink
fix: Youtube fake response is now up to date.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpratt committed Apr 13, 2024
1 parent 6c0be7f commit c514c2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Embera/Provider/Youtube.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ public function getFakeResponse()
$attr[] = 'height="{height}"';
$attr[] = 'src="' . $embedUrl . '"';
$attr[] = 'frameborder="0"';
$attr[] = 'allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"';
$attr[] = 'allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"';
$attr[] = 'referrerpolicy="strict-origin-when-cross-origin"';
$attr[] = 'allowfullscreen';
$attr[] = 'title=""';

return [
'type' => 'video',
Expand Down

0 comments on commit c514c2e

Please sign in to comment.