This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET @prefix = "wp_"; | |
SET @old = "http://www.old.com"; | |
SET @new = "http://www.new.com"; | |
SET @sql1 = CONCAT('UPDATE ', @prefix, 'options SET option_value = REPLACE(option_value,?,?)'); | |
SET @sql2 = CONCAT('UPDATE ', @prefix, 'posts SET guid = REPLACE(guid,?,?)'); | |
SET @sql3 = CONCAT('UPDATE ', @prefix, 'posts SET post_content = REPLACE(post_content,?,?)'); | |
PREPARE update1 FROM @sql1; | |
PREPARE update2 FROM @sql2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pass the plugin reference and configuration parameter ('text') to the embed script | |
jwplayer('id-of-container').setup({ | |
file: '/path/to/my/video.mp4', | |
plugins: { | |
'/path/to/overlay.js': { | |
text: 'Text that you want to go within the overlayed banner' | |
} | |
} | |
}); |