-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/os2' into develop
- Loading branch information
Showing
18 changed files
with
445 additions
and
709 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# itk-os2display/vimeo-bundle CHANGELOG | ||
# os2display/vimeo-bundle | ||
|
||
## 2.0.0 | ||
|
||
* Renamed to os2display. | ||
|
||
## 1.0.6 | ||
|
||
|
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace Os2Display\VimeoBundle; | ||
|
||
use Symfony\Component\HttpKernel\Bundle\Bundle; | ||
|
||
class Os2DisplayVimeoBundle extends Bundle | ||
{ | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,43 @@ | ||
# itk-os2display/vimeo | ||
# os2display/vimeo | ||
|
||
Supplies a slide template for playing vimeo videos. This bundle uses Vimeo's js player: https://github.com/vimeo/player.js/ | ||
|
||
## Installation | ||
|
||
Add the git repository to "repositories" in `composer.json`. | ||
|
||
<pre> | ||
"repositories": { | ||
"os2display/vimeo-bundle": { | ||
"type": "vcs", | ||
"url": "https://github.com/os2display/vimeo-bundle" | ||
}, | ||
... | ||
} | ||
</pre> | ||
|
||
Require the bundle with composer. | ||
|
||
<pre> | ||
composer require os2display/vimeo-bundle | ||
</pre> | ||
|
||
Enable the bundle in `AppKernel.php`, by adding Os2DisplayVimeoBundle to $bundles. | ||
|
||
<pre> | ||
new Os2Display\VimeoBundle\Os2DisplayVimeoBundle() | ||
</pre> | ||
|
||
Run os2display:core:templates:load command to load the template in the installation. | ||
|
||
<pre> | ||
bin/console os2display:core:templates:load | ||
</pre> | ||
|
||
Enable the template in the administration. | ||
|
||
## Ads and controls | ||
|
||
To avoid ads and video controls, the shared video has to come from a user | ||
that has disabled the options at vimeo.com. To do it yourself, you need to have | ||
at least a PLUS account (https://vimeo.com/plus). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
services: | ||
# itk_vimeo.example: | ||
# class: Itk\VimeoBundle\Example | ||
# arguments: [@service_id, "plain_value", %parameter%] |
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
Resources/public/templates/vimeo/slides/itk-vimeo/itk-vimeo.html
This file was deleted.
Oops, something went wrong.
File renamed without changes
2 changes: 1 addition & 1 deletion
2
...o/slides/itk-vimeo/itk-vimeo-preview.html → ...tes/vimeo/slides/vimeo/vimeo-preview.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="itk-vimeo" style="background-image: url('bundles/itkvimeo/templates/vimeo/slides/itk-vimeo/image/vimeo_bg.png'); background-size: cover;" | ||
<div class="vimeo" style="background-image: url('bundles/itkvimeo/templates/vimeo/slides/vimeo/image/vimeo_bg.png'); background-size: cover;" | ||
data-ng-style="{'width': theStyle.width, 'height': theStyle.height, 'font-size': theStyle.fontsize}"> | ||
Vimeo id: {{ ikSlide.options.id }} | ||
</div> |
6 changes: 3 additions & 3 deletions
6
...ates/vimeo/slides/itk-vimeo/itk-vimeo.css → ...ic/templates/vimeo/slides/vimeo/vimeo.css
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
.itk-vimeo { | ||
.vimeo { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.itk-vimeo-iframe-wrapper { | ||
.vimeo-iframe-wrapper { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.itk-vimeo-iframe-wrapper > iframe { | ||
.vimeo-iframe-wrapper > iframe { | ||
width: 100%; | ||
height: 100%; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="vimeo"> | ||
<div class="vimeo-iframe-wrapper js-vimeo--player-{{ikSlide.uniqueId}}"></div> | ||
</div> |
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
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
File renamed without changes
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Itk\\VimeoBundle\\": "" | ||
"Os2Display\\VimeoBundle\\": "" | ||
} | ||
} | ||
} |