symfony - extend YouTubeProvider in SonataMedia -


i'm using sonatamedia, sonataadmin bundle , youtubeprovider upload videos media content.

part of sonata\mediabundle\provider\youtubeprovider.php file:

//... 'cc_load_policy' => 1, 'wmode' => 'window' //... 

i want change wmode opaque. can done extend youtubeprovider.php file.

what best way that?

as there no option specified in advanced configuration documentation page, need override youtube provider, , specify class in config.yml :

parameters:     sonata.media.provider.youtube: mybundle\myclass  sonata_media:     providers:         youtube:             service:    sonata.media.provider.youtube 

Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -