src/pyams_media/skin/resources/js/pyams_media.js
changeset 101 0cb6cb0ac01c
parent 48 463872a6656a
child 105 f2cf11a82a79
equal deleted inserted replaced
100:7ac21495e0b1 101:0cb6cb0ac01c
    39 				video = player.conf.flowplayer.video;
    39 				video = player.conf.flowplayer.video;
    40 			}
    40 			}
    41 			if (video && video.time) {
    41 			if (video && video.time) {
    42 				var position = video.time;
    42 				var position = video.time;
    43 				var form = parent.parents('form');
    43 				var form = parent.parents('form');
    44 				$('INPUT[name="form.widgets.time"]', form).val(position);
    44 				$('INPUT[name="thumbnail_form.widgets.time"]', form).val(position);
    45 			}
    45 			}
    46 		},
    46 		},
    47 
    47 
    48 		shutdownPlayerDialog: function() {
    48 		shutdownPlayerDialog: function() {
    49 			var dialog = $(this);
    49 			var dialog = $(this);