Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
8fb0ba6
Merge branch 'master' into 1.3.0
FrankM1 Dec 30, 2017
f084ac1
check post type admin
FrankM1 Jan 27, 2019
f610ab9
conditionally load scripts only when they are needed.
FrankM1 Feb 8, 2019
cf15a11
Merge branch 'heads/1.3.0' into develop
FrankM1 Feb 8, 2019
264dc64
remove unused scripts
FrankM1 Feb 8, 2019
5060383
comments
FrankM1 Mar 13, 2019
b4a6dd6
undefined variable error
FrankM1 Mar 21, 2019
162bb7e
nav button for importer
FrankM1 Apr 13, 2019
7fd5288
update jquery
Dec 11, 2019
d540b62
Merge branch 'master' into develop
Dec 11, 2019
734a976
TEST 1 show video
Dec 11, 2019
e33a6b3
TEST 2 show video
Dec 11, 2019
5e0479b
TEST 3 show video
Dec 11, 2019
34bfd7b
added controls in video player
Dec 11, 2019
2eeb345
added controls in video player 2
Dec 11, 2019
f597090
TEST 1 : added controls in video player
Dec 11, 2019
a9700af
TEST 2 : added controls in video player
Dec 11, 2019
9da2871
TEST 3 : added controls in video player
Dec 12, 2019
30d4ac9
TEST 4 : added controls in video player
Dec 12, 2019
ce42018
TEST 5 : added controls in video player
Dec 12, 2019
5467836
TEST 7 : added controls in video player
Dec 12, 2019
e6a6a26
TEST 8 : added controls in video player
Dec 12, 2019
325f6b1
TEST 9 : added controls in video player
Dec 12, 2019
fdb6293
TEST 10 : added controls in video player
Dec 12, 2019
eede5fd
added poister to the video player
Dec 12, 2019
532ba7b
test 11: added controls to the video player
Dec 12, 2019
9d9c27e
test 12: added controls to the video player
Dec 12, 2019
08abc7a
test 13: added controls to the video player
Dec 12, 2019
73fd2d1
test 14: added controls to the video player
Dec 12, 2019
225f157
added controls to the video player
Dec 12, 2019
1e4b8a3
added controls to the video player
Dec 12, 2019
fd63188
Remove duplicated directory
Dec 12, 2019
6856f54
added width to 628 in controls of the video player
Dec 12, 2019
8500739
added height to auto in controls of the video player
Dec 12, 2019
91f695c
added width to 100% in controls of the video player
Dec 12, 2019
78b834e
added height to 100% important in controls of the video player
Dec 12, 2019
61d35a7
added height to 100% important in class controls of the video player
Dec 12, 2019
55ae726
added vimeo stetting
Dec 12, 2019
14ac6e5
test 1: vimeo stetting
Dec 12, 2019
7a05c45
test 1.1: vimeo stetting
Dec 12, 2019
ef3ff90
test 1: vimeo => NEW VIDEO
Dec 12, 2019
9919b20
test 1: vimeo => NEW VIDEO By nodejs
Dec 12, 2019
67d455e
test 1: vimeo => NEW VIDEO By vimeo.php
Dec 12, 2019
c1e6a67
added vendor php vimeo api sdk
Dec 12, 2019
d265ed8
test 1.1: vimeo => NEW VIDEO By vimeo.php
Dec 12, 2019
bdd6bb2
test 1.2: vimeo => NEW VIDEO By vimeo.php
Dec 12, 2019
f4dd0e7
test 1.3: vimeo => NEW VIDEO By vimeo.php
Dec 12, 2019
7df438b
* added file_upload button in vimeo radium;
Dec 13, 2019
1b3453f
bugfix Gruntfile.js configuration.
Dec 13, 2019
0034f28
bugfix Gruntfile.js configuration.
Dec 13, 2019
fab63b2
vimeo setting
Dec 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ node_modules
/buildtheme/

*.cson

# IntelliJ #
.idea
15 changes: 10 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = function(grunt) {
replace: 'grunt-text-replace'
});

const sass = require('node-sass');

grunt.loadNpmTasks('grunt-wp-i18n');

// require it at the top and pass in the grunt instance
Expand Down Expand Up @@ -33,6 +35,10 @@ module.exports = function(grunt) {

// sass
sass: {
options: {
implementation: sass,
sourceMap: true
},
dist: {
files: {
'assets/admin/css/style.css': 'assets/admin/scss/style.scss',
Expand Down Expand Up @@ -162,7 +168,7 @@ module.exports = function(grunt) {
'templates/default/js/main.min.js': [
'templates/default/js/source/likes.js',
'templates/default/js/source/main.js'
]
],
}
},

Expand All @@ -184,9 +190,7 @@ module.exports = function(grunt) {
files: {
'assets/admin/js/import.min.js' : 'assets/admin/js/source/import.js',
'assets/admin/js/meta.min.js' : 'assets/admin/js/source/meta.js',
'assets/admin/js/debug-bar.min.js' : 'assets/admin/js/source/debug-bar.js',
'assets/admin/js/mce-playlist-view.js' : 'assets/admin/js/source/playlist/mce-playlist-view.js',
'assets/admin/js/modal-playlist-view.js': 'assets/admin/js/source/playlist/modal-playlist-view.js',
'assets/admin/js/debug-bar.min.js' : 'assets/admin/js/source/debug-bar.js'
}
}

Expand Down Expand Up @@ -305,7 +309,8 @@ module.exports = function(grunt) {
] );

// register task
grunt.registerTask( 'default', [
grunt.registerTask( 'default', [
'sass',
'i18n',
'styles',
'scripts',
Expand Down
4 changes: 2 additions & 2 deletions Radium/Video/Shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ function player( $atts, $content=null ) {
//Output the <video> tag
$videojs = <<<_end_

<video class="video-js vjs-default-skin{$class}" width="{$width}" height="{$height}"{$poster_attribute}{$controls_attribute}{$preload_attribute}{$autoplay_attribute}{$loop_attribute}{$muted_attribute} data-setup='{$jsonDataSetup}'>
<video class="video-js vjs-default-skin{$class}" width="{$width}" height="{$height}" {$poster_attribute} {$controls_attribute} {$preload_attribute} {$autoplay_attribute} {$loop_attribute} {$muted_attribute}>
{$mp4_source}
{$webm_source}
{$ogg_source}{$track}
Expand Down Expand Up @@ -819,7 +819,7 @@ function video_player( $attr ) {
if ( 'mediaelement' === $library && 1 === $instances )
$html .= "<!--[if lt IE 9]><script>document.createElement('video');</script><![endif]-->\n";

$html .= sprintf( '<video %s controls="controls">', join( ' ', $attr_strings ) );
$html .= sprintf( '<video %s>', join( ' ', $attr_strings ) );

$fileurl = '';

Expand Down
2 changes: 1 addition & 1 deletion Radium/Video/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function register_project_templates($atts)
public function view_project_template($template)
{
$page_template = get_post_meta(get_the_ID(), '_wp_page_template', true);
$file = '';

if ($page_template == 'video-home.php' || $page_template == 'video-list.php') {
add_filter('video_central_is_video_archive', '__return_true');
Expand All @@ -109,7 +110,6 @@ public function view_project_template($template)
// Check child theme first
if (file_exists(trailingslashit($template_location).'page-templates/'.$wp_page_template)) {
$file = trailingslashit($template_location).'page-templates/'.$wp_page_template;

break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion assets/admin/css/metaboxes/style.css

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

11 changes: 7 additions & 4 deletions assets/admin/css/playlist.css

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

5 changes: 4 additions & 1 deletion assets/admin/css/style.css

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

2 changes: 1 addition & 1 deletion assets/admin/js/import.min.js

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

Loading