File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ WORKDIR ${dir}
1717
1818USER app
1919
20- RUN composer require -o jwplayer/jwplatform
20+ RUN composer require jwplayer/jwplatform
2121
2222CMD [ "php" , "examples/upload_video.php" ]
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ PHP 5.6.0 and later.
1818You can install the bindings via [ Composer] ( http://getcomposer.org/ ) . Run the following command:
1919
2020``` bash
21- composer require -o jwplayer/jwplatform
21+ composer require jwplayer/jwplatform
2222```
2323
2424To use the bindings, use Composer's [ autoload] ( https://getcomposer.org/doc/01-basic-usage.md#autoloading ) :
Original file line number Diff line number Diff line change 11{
22 "name" : " jwplayer/jwplatform" ,
33 "type" : " library" ,
4- "description" : " Official JW Player PHP API Adapter " ,
5- "version" : " v1.6.2 " ,
4+ "description" : " Official JW Player client " ,
5+ "version" : " v1.6.3 " ,
66 "keywords" : [
77 " jwplayer" ,
88 " jwplatform" ,
2323 "php" : " >=5.6.0" ,
2424 "ext-curl" : " *"
2525 },
26- "config" : {
27- "optimize-autoloader" : true
28- },
2926 "autoload" : {
3027 "psr-4" : {
3128 "Jwplayer\\ " : " src/"
Original file line number Diff line number Diff line change 11<?php
22// API client
3- require (dirname (__FILE__ ) . '/src/Client .php ' );
3+ require (dirname (__FILE__ ) . '/src/JwplatformAPI .php ' );
Original file line number Diff line number Diff line change 33namespace Jwplayer ;
44
55 class JwplatformAPI {
6- private $ _version = '1.6.2 ' ;
6+ private $ _version = '1.6.3 ' ;
77 private $ _url = 'https://api.jwplatform.com/v1 ' ;
88 private $ _library ;
99
You can’t perform that action at this time.
0 commit comments