Changeset 507340
- Timestamp:
- 02/19/2012 03:52:26 PM (14 years ago)
- Location:
- html5avmanager
- Files:
-
- 81 added
- 3 edited
-
tags/0.2.6 (added)
-
tags/0.2.6/api.php (added)
-
tags/0.2.6/html5avmanager.php (added)
-
tags/0.2.6/lib (added)
-
tags/0.2.6/lib/html5av_dbal.php (added)
-
tags/0.2.6/lib/mediaelement (added)
-
tags/0.2.6/lib/mediaelement/background.png (added)
-
tags/0.2.6/lib/mediaelement/bigplay.png (added)
-
tags/0.2.6/lib/mediaelement/controls-ted.png (added)
-
tags/0.2.6/lib/mediaelement/controls-wmp-bg.png (added)
-
tags/0.2.6/lib/mediaelement/controls-wmp.png (added)
-
tags/0.2.6/lib/mediaelement/controls.png (added)
-
tags/0.2.6/lib/mediaelement/flashmediaelement.swf (added)
-
tags/0.2.6/lib/mediaelement/jquery.js (added)
-
tags/0.2.6/lib/mediaelement/loading.gif (added)
-
tags/0.2.6/lib/mediaelement/mediaelement-and-player.js (added)
-
tags/0.2.6/lib/mediaelement/mediaelement-and-player.min.js (added)
-
tags/0.2.6/lib/mediaelement/mediaelement.js (added)
-
tags/0.2.6/lib/mediaelement/mediaelement.min.js (added)
-
tags/0.2.6/lib/mediaelement/mediaelementplayer.css (added)
-
tags/0.2.6/lib/mediaelement/mediaelementplayer.js (added)
-
tags/0.2.6/lib/mediaelement/mediaelementplayer.min.css (added)
-
tags/0.2.6/lib/mediaelement/mediaelementplayer.min.js (added)
-
tags/0.2.6/lib/mediaelement/mejs-skins.css (added)
-
tags/0.2.6/lib/mediaelement/silverlightmediaelement.xap (added)
-
tags/0.2.6/lib/model (added)
-
tags/0.2.6/lib/model/html5av_audio_video.php (added)
-
tags/0.2.6/lib/model/html5av_source.php (added)
-
tags/0.2.6/lib/model/html5av_track.php (added)
-
tags/0.2.6/lib/time.php (added)
-
tags/0.2.6/lib/uploadify (added)
-
tags/0.2.6/lib/uploadify/cancel.png (added)
-
tags/0.2.6/lib/uploadify/check.php (added)
-
tags/0.2.6/lib/uploadify/custom.php (added)
-
tags/0.2.6/lib/uploadify/expressInstall.swf (added)
-
tags/0.2.6/lib/uploadify/intra.cj-jackson.com.json (added)
-
tags/0.2.6/lib/uploadify/jquery.uploadify.js (added)
-
tags/0.2.6/lib/uploadify/uploadify.allglyphs.swf (added)
-
tags/0.2.6/lib/uploadify/uploadify.css (added)
-
tags/0.2.6/lib/uploadify/uploadify.fla (added)
-
tags/0.2.6/lib/uploadify/uploadify.swf (added)
-
tags/0.2.6/license.txt (added)
-
tags/0.2.6/readme.txt (added)
-
tags/0.2.6/screenshot-1.png (added)
-
tags/0.2.6/screenshot-2.png (added)
-
tags/0.2.6/screenshot-3.png (added)
-
tags/0.2.6/screenshot-4.png (added)
-
tags/0.2.6/screenshot-5.png (added)
-
tags/0.2.6/screenshot-6.png (added)
-
tags/0.2.6/screenshot-7.png (added)
-
tags/0.2.6/sql (added)
-
tags/0.2.6/sql/main.sql (added)
-
tags/0.2.6/sql/update (added)
-
tags/0.2.6/sql/update/2.sql (added)
-
tags/0.2.6/sql/update/4.sql (added)
-
tags/0.2.6/view (added)
-
tags/0.2.6/view/admin (added)
-
tags/0.2.6/view/admin/audio-add-panel.php (added)
-
tags/0.2.6/view/admin/audio-edit-panel.php (added)
-
tags/0.2.6/view/admin/message.php (added)
-
tags/0.2.6/view/admin/no-av.php (added)
-
tags/0.2.6/view/admin/settings-panel.php (added)
-
tags/0.2.6/view/admin/source-external-panel.php (added)
-
tags/0.2.6/view/admin/source-panel.php (added)
-
tags/0.2.6/view/admin/track-external-panel.php (added)
-
tags/0.2.6/view/admin/track-panel.php (added)
-
tags/0.2.6/view/admin/video-add-panel.php (added)
-
tags/0.2.6/view/admin/video-audio-manager-page.php (added)
-
tags/0.2.6/view/admin/video-audio-manager-pagenation.php (added)
-
tags/0.2.6/view/admin/video-audio-manager-panel.php (added)
-
tags/0.2.6/view/admin/video-edit-panel.php (added)
-
tags/0.2.6/view/admin/view-editor-filelist.php (added)
-
tags/0.2.6/view/admin/view-editor.php (added)
-
tags/0.2.6/view/admin/widget.php (added)
-
tags/0.2.6/view/videoaudio (added)
-
tags/0.2.6/view/videoaudio/audio-default.php (added)
-
tags/0.2.6/view/videoaudio/audio-xml.php (added)
-
tags/0.2.6/view/videoaudio/setting.php (added)
-
tags/0.2.6/view/videoaudio/video-default.php (added)
-
tags/0.2.6/view/videoaudio/video-xml.php (added)
-
trunk/html5avmanager.php (modified) (5 diffs)
-
trunk/lib/uploadify/custom.php (modified) (1 diff)
-
trunk/lib/uploadify/intra.cj-jackson.com.json (added)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
html5avmanager/trunk/html5avmanager.php
r502190 r507340 5 5 Plugin URI: http://cj-jackson.com/ 6 6 Description: A video manager with a Modal-View-Controller and video uploader. 7 Version: 0.2. 57 Version: 0.2.6 8 8 Author: Christopher John Jackson 9 9 Author URI: http://cj-jackson.com/ … … 48 48 } 49 49 50 if (!(is_writable(WP_CONTENT_DIR) && is_readable(WP_CONTENT_DIR))) { 51 deactivate_plugins(basename(__FILE__)); 52 $wpcontent = WP_CONTENT_DIR; 53 wp_die("HTML5 AV Manager for Wordpress has detected that '$wpcontent' not 54 writable or readable, therefore deactivated itself, make sure that 55 directory is chmoded to '755', thank you!"); 56 } 57 58 if (!function_exists('json_encode')) { 59 deactivate_plugins(basename(__FILE__)); 60 wp_die("HTML5 AV Manager for Wordpress has detected that your server 61 installation of PHP does not have 'json' module installed, therefore 62 deactivated itself!"); 63 } 64 50 65 require_once 'lib/time.php'; 51 66 require_once 'lib/html5av_dbal.php'; … … 84 99 self::$view_path = WP_CONTENT_DIR . '/videoaudio/views'; 85 100 101 $uploadify_setting_file = self::$DIR . '/lib/uploadify/' . $_SERVER['HTTP_HOST'] . '.json'; 102 if (!file_exists($uploadify_setting_file)) { 103 $uploadify_json['dir'] = self::$UPLOAD_DIR; 104 $uploadify_json = json_encode($uploadify_json); 105 file_put_contents($uploadify_setting_file, $uploadify_json); 106 } 107 86 108 // Set up param 87 109 self::$param = self::cleanParam(); … … 389 411 include 'view/admin/message.php'; 390 412 } 391 413 392 414 static public function viewEditorPanel() { 393 415 include 'view/admin/view-editor.php'; … … 754 776 $title = htmlspecialchars($audio->getTitle()); 755 777 $alt = htmlspecialchars($audio->getAlt()); 756 778 757 779 //$poster = 'http://upload.wikimedia.org/wikipedia/commons/c/c0/Blank.gif'; 758 780 //$width = $height = 1; -
html5avmanager/trunk/lib/uploadify/custom.php
r484772 r507340 27 27 if (!empty($_FILES)) { 28 28 $tempFile = $_FILES['Filedata']['tmp_name']; 29 $targetPath = $_SERVER['DOCUMENT_ROOT'] . '/temp'; 29 $json_file = $_SERVER['HTTP_HOST'] . '.json'; 30 $json = json_decode(file_get_contents($json_file), true); 31 $targetPath = $json['dir'] . '/temp'; 30 32 $targetFileName = $_FILES['Filedata']['name']; 31 33 $targetFile = str_replace('//', '/', $targetPath) . '/' . $targetFileName; -
html5avmanager/trunk/readme.txt
r502190 r507340 5 5 Requires at least: 2.7 6 6 Tested up to: 3.3 7 Stable tag: 0.2. 57 Stable tag: 0.2.6 8 8 9 9 A HTML5 Audio and Video manager that take full advantage of … … 60 60 61 61 == Changelog == 62 63 = 0.2.6 = 64 * Fixed caused of 'getType' error, again fingers crossed. 65 * Plugin will deactivate itself if 'wp_content' is not writable or readable. 66 * Plugin will deactivate itself if 'json' is not detected within PHP installtion. 62 67 63 68 = 0.2.5 =
Note: See TracChangeset
for help on using the changeset viewer.