Skip to content

Commit

Permalink
1.2.6 allow fullscreen
Browse files Browse the repository at this point in the history
Signed-off-by: Jessica González <suki@missallsunday.com>
  • Loading branch information
MissAllSunday committed May 4, 2016
1 parent 1b9f968 commit 5fc01cc
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion OharaYTEmbed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>Suki:ohara_youtube_embed</id>
<version>1.2.5</version>
<version>1.2.6</version>

<file name="$sourcedir/Post.php">
<operation>
Expand Down
2 changes: 1 addition & 1 deletion Sources/OharaYTEmbed.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica González <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica González
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/languages/OharaYTEmbed.english-utf8.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica González <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica González
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/languages/OharaYTEmbed.english.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica Gonzalez <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica Gonzalez
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/languages/OharaYTEmbed.spanish_es-utf8.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica González <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica González
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/languages/OharaYTEmbed.spanish_es.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica Gonzalez <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica Gonzalez
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/languages/OharaYTEmbed.spanish_latin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica Gonz&aacute;lez <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica Gonz&aacute;lez
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica González <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica González
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
4 changes: 2 additions & 2 deletions Themes/default/scripts/ohyoutube.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright (C) 2016 Jessica González
@license http://www.mozilla.org/MPL/ MPL 2.0
@version 1.2.5
@version 1.2.6
*/

var _oh = function(){
Expand Down Expand Up @@ -40,7 +40,7 @@ _oh.prototype.main = function(){
}

// The height and width of the iFrame should be the same as parent
var iframe = $('<iframe/>', {'frameborder': '0', 'src': iframe_url, 'width': imgWidth, 'height': imgHeight});
var iframe = $('<iframe/>', {'frameborder': '0', 'src': iframe_url, 'width': imgWidth, 'height': imgHeight, 'allowfullscreen': ''});

// Append the YouTube HTML5 Player.
$(this).css({'background-image': 'none'}).append(iframe);
Expand Down
4 changes: 2 additions & 2 deletions Themes/default/scripts/ohyoutube.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion addHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica González <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica González
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down
2 changes: 1 addition & 1 deletion package-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<name>Ohara YouTube Embed</name>
<id>Suki:ohara_youtube_embed</id>
<version>1.2.5</version>
<version>1.2.6</version>
<type>modification</type>

<install for="2.0 - 2.0.99">
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.

[color=purple][b][size=12pt]Changelog[/size][/b][/color]
[code]
1.2.6 - May 4 18, 2016,
- Add support for full screen videos.

1.2.5 - February 18, 2016,
- Added support for imgur gifv format
- Move the css and js calls to integrate_load_theme hook.
Expand Down
2 changes: 1 addition & 1 deletion removeHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* @package Ohara Youtube Embed mod
* @version 1.2.5
* @version 1.2.6
* @author Jessica González <missallsunday@simplemachines.org>
* @copyright Copyright (C) 2016 Jessica González
* @license http://www.mozilla.org/MPL/ MPL 2.0
Expand Down

0 comments on commit 5fc01cc

Please sign in to comment.