This shows better that initCommand is a first level member of a site
object.
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
},
{
locationRegexp: /^http:\/\/www\.rai\.tv\/.*$/,
- initCommand: function(site) {
- unsafeWindow.Silverlight.isInstalled = function(version) {
- return true;
- };
+ initCommand: function(site) {
+ unsafeWindow.Silverlight.isInstalled = function(version) {
+ return true;
+ };
},
urlContainerXPath: '//div[@id="silverlightControlHost" or @id="SilverlightPlayer"]',
urlRegexp: /mediaUri=(http:\/\/[^,]*)/,