Any Youtube Video, for example this:
And any image.
This error is only with this code in htaccess
RewriteCond %{THE_REQUEST} \ /(.+/)?index\.([^/]+)(\?.*)?\ [NC]
RewriteRule ^(.+/)?index\.([^/]+)$ /%1 [NC,R=301,L]
That works for remove index.php in the URL, but create problems embed videos and images: