* Dual licensed under the MIT and GPL licenses
*
*/
+
(function ($) {
var ColorPicker = function () {
var
ColorPickerShow: ColorPicker.showPicker,
ColorPickerSetColor: ColorPicker.setColor
});
-})(jQuery)
\ No newline at end of file
+})(jQuery);
\ No newline at end of file
this.tryAddSource(video_element);
if($j(video_element).attr('thumbnail'))
- this.thumbnail=$j(video_element).attr('thumbnail');
+ this.thumbnail = $j(video_element).attr('thumbnail');
if($j(video_element).attr('poster'))
- this.thumbnail=$j(video_element).attr('poster');
+ this.thumbnail = $j(video_element).attr('poster');
// Process all inner <source> elements
//js_log("inner source count: " + video_element.getElementsByTagName('source').length );
embed_code_html+='roe="'+this.roe+'" >';
}else{
embed_code_html+='src="'+this.src+'" ' +
- 'thumbnail="'+embed_thumb_html+'">';
+ 'poster="'+embed_thumb_html+'">';
}
//close the video tag
embed_code_html+='</video>';
js_log("sequence:doEditTransition");
var _this = this;
mv_get_loading_img( '#transitions_ic' );
- mvJsLoader.doLoad([
- 'mvTimedEffectsEdit',
- '$j.fn.ColorPicker'
+ mvJsLoader.doLoad([
+ '$j.fn.ColorPicker',
+ 'mvTimedEffectsEdit'
],function(){
//no idea why this works / is needed.
var localSeqRef = _this;
this_seq.deselectClip( $j(this).siblings('.mv_clip_thumb').get(0) );
}else{
//deselect others
+ this_seq.deselectClip();
$j('.clip_trans_box').removeClass('mv_selected_transition');
$j(this).addClass("mv_selected_transition");
$j(this).siblings('.mv_clip_thumb').addClass("mv_selected_clip");
//update the timeline playhead and
- $j('#'+ this.seqObj.timeline_id + '_playline').css('left', left_px);
+ $j('#' + this.seqObj.timeline_id + '_playline').css('left', left_px);
//pass update request to parent:
this.parent_setSliderValue( perc );
'pSeq': null, //parent sequence Object
'edit_action': null, //the requested edit action
-}
+};
+
var mvTimedEffectsEdit =function(iObj) {
return this.init(iObj);
};
//and finally add effect timeline scrubber (for timed effects this also stores keyframes)
},
- getTransitionListControl:function(target_out){
+ getTransitionListControl : function(target_out){
js_log("getTransitionListControl");
var o= '<h3>Add a Transition:</h3>';
for(var type in mvTransLib['type']){
}
$j(target_out).html(o);
}
-}
\ No newline at end of file
+};