Skip to content

Commit

Permalink
Fix screencast to use https.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed May 8, 2019
1 parent bd940aa commit 667dc40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/Data/stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -1039,13 +1039,13 @@
],
[
'name' => 'Screencast',
'website' => 'http://www.screencast.com',
'url-match' => 'http://(?:www\.)?screencast\.com/t/([0-9a-zA-Z]+)',
'fetch-match' => 'http://www\.screencast\.com/users/CamtasiaTraining/folders/Camtasia/media/([a-z0-9-]+)/embed',
'embed-src' => 'http://content.screencast.com/users/CamtasiaTraining/folders/Camtasia/media/1d44810a-01f4-4c60-a862-6d114bed50c7/tscplayer.swf',
'website' => 'https://www.screencast.com',
'url-match' => 'https://(?:www\.)?screencast\.com/t/([0-9a-zA-Z]+)',
'fetch-match' => 'https://www\.screencast\.com/users/CamtasiaTraining/folders/Camtasia/media/([a-z0-9-]+)/embed',
'embed-src' => 'https://content.screencast.com/users/CamtasiaTraining/folders/Camtasia/media/1d44810a-01f4-4c60-a862-6d114bed50c7/tscplayer.swf',
'embed-width' => '425',
'embed-height' => '344',
'iframe-player' => 'http://www.screencast.com/users/CamtasiaTraining/folders/Camtasia/media/$2/embed'
'iframe-player' => 'https://www.screencast.com/users/CamtasiaTraining/folders/Camtasia/media/$2/embed'
],
[
'name' => 'ScreenToaster',
Expand Down
6 changes: 3 additions & 3 deletions tests/MediaEmbedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ class MediaEmbedTest extends TestCase {
'http://www.metatube.com/en/videos/245145/J-Alvarez-Tu-Cuerpo-Pide-Fiesta/' => '245145/J-Alvarez-Tu-Cuerpo-Pide-Fiesta',

// Fetch lookup required
'http://www.screencast.com/t/Hh4ulI0M' => '1d44810a-01f4-4c60-a862-6d114bed50c7',
'http://www.ustream.tv/channel/america2oficial' => '17916695',
'http://www.ustream.tv/channel/16962149' => '16962149',
'https://www.screencast.com/t/Hh4ulI0M' => '1d44810a-01f4-4c60-a862-6d114bed50c7',
'https://www.ustream.tv/channel/america2oficial' => '17916695',
'https://www.ustream.tv/channel/16962149' => '16962149',

'http://example.wistia.com/medias/1voyrefhy9' => '1voyrefhy9',

Expand Down

0 comments on commit 667dc40

Please sign in to comment.