Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js |
— | — | @@ -214,7 +214,7 @@ |
215 | 215 | */ |
216 | 216 | init: function( element ) { |
217 | 217 | var _this = this; |
218 | | - mw.log('EmbedPlayer: initEmbedPlayer: ' + $(element).width() ); |
| 218 | + mw.log('EmbedPlayer: initEmbedPlayer: ' + $(element).attr('id') ); |
219 | 219 | |
220 | 220 | var playerAttributes = mw.getConfig( 'EmbedPlayer.Attributes' ); |
221 | 221 | |
— | — | @@ -1522,7 +1522,7 @@ |
1523 | 1523 | iframeUrl = this.getIframeSourceUrl(); |
1524 | 1524 | |
1525 | 1525 | // Set up embedFrame src path |
1526 | | - var embedCode = '<iframe src="' + mw.escapeQuotesHTML( iframeUrl ) + '" '; |
| 1526 | + var embedCode = '<iframe src="' + mw.html.escape( iframeUrl ) + '" '; |
1527 | 1527 | |
1528 | 1528 | // Set width / height of embed object |
1529 | 1529 | embedCode += 'width="' + this.getPlayerWidth() +'" '; |