Escolar Documentos
Profissional Documentos
Cultura Documentos
en “un año”?
COMO
Llegue a GOOGLE
Y Wikimedia!!!
Google SOC
“Google Summer of Code
(en español: Verano de código Google)
es un programa anual donde, la empresa
Busca Proyectos y organizaciones .
De Estudiantes Universitarios para
Programar todo el verano...
NADA MAL ..NO....
WikiMedia
“Wikimedia es la Fundacion La misión de la
Fundación Wikimedia es facultar y animar
a la gente de todo el mundo a reunir y
desarrollar contenido educativo neutral
bajo una licencia de contenido libre o
en el dominio público,
y a difundirla de manera efectiva y global.
Title/Summary
Organization
Eclipse Corria el AÑO 2007
Last Modified
2007/04/09 16:44:38 PDT
Status Not Selected ME RECHAZARON!!!!!
POR ALGO SERA …
No Estaba preparado...
No Era mi Tiempo...
Sabia que algo me
estaba esperando....
Le METI PATA!!! AÑO 2009
Una vez MAS
Sip Me Aceptaron!!!
Ya estaba maduro en Momento FELIZ !!!!!
conocimiento...
Y Sobre Todo
Hice Amigos
5600 Proyectos …
Solo 1000 Lugares....
7 Argentinos!!!
SUERTE ¿?
Google para 1000 SOC
Se Realizan las propuestas
A
Que es lo que HAY
Todos FLASH
En que Me Inspire
En JS - VLC CONTROL
# Mi Primer
Plugins VLC CONTROL EKEKO
# Es Basico!!!
¨1er Contacto con¨
Michael Dale!!!
On 13th April 2009 21:24 Michael Dale wrote:
I am willing to mentor this project but the student will probably have to deviate
substantially from what was originally proposed. If the student can contact me
(very soon) ...... Also the student should give us some references to previous
projects that shows some experience in this area.
Y me enseño lo Siguiente...
¨Mv EMBED¨
is a javascript – Jquery - library for easy
embedding of ogg theora/vorbis media with
the html5 !!!
WAPPER para los
Siguiente Reproductores
VLC (win,linux,mac) (firefox & IE)
LA TECNOLOGIA :
JavaSCRIPT – JQUERY
JSON – XML
API - Wiki y de MAS
API – De Conextores – Contar Flow y HTML5
CSS
CODIGO Function en MVEmbed!!!
+
+ //Volumen Slider
+ js_log(" should add slider binding: " + $j('#volume_bar_'+embedObj.id).length) ;
+ //get_vol_vlc
+ //$j('#volume_bar_'+embedObj.id).ready(function () {
+
+ //$j('#' +embedObj.id).get(0).vol_slider(perc);
+
+ //});
+ // $j('#volume_bar_' +embedObj.id).get(0).updateVolume(30/100);
+ $j('#volume_bar_'+embedObj.id).slider({
+ range: "min",
+ value: 30,
+ min: 0,
+ max: 100,
+ start: function(event, ui){
+ var id = (embedObj.pc!=null)?embedObj.pc.pp.id:embedObj.id;
+ embedObj.userSlide=true;
+ },
+ slide: function(event, ui) {
+ var perc = ui.value/100;
+ $j('#' +embedObj.id).get(0).updateVolume(perc);
+ $j('#volume_control_'+embedObj.id ).removeClass('ui-icon-volume-on').addClass('ui-icon-volume-off');
+ if (perc==0) {
+ $j('#volume_control_'+embedObj.id ).removeClass('ui-icon-volume-on').addClass('ui-icon-volume-off');
+
+
+ }
+ else{
+
+ $j('#volume_control_'+embedObj.id ).removeClass('ui-icon-volume-off').addClass('ui-icon-volume-on');
+ }
+ },
+ change:function(event, ui){
+ //only run the onChange event if done by a user slide:
+ if(embedObj.userSlide){
+ embedObj.userSlide=false;
+ embedObj.seeking=true;
+
+ var perc = ui.value/100;
+ $j('#' +embedObj.id).get(0).updateVolume(perc);
+
+ }
+ }
+ });+
+ $j('#volume_bar_'+embedObj.id).append( ctrlBuilder.MvBufferVolHtml() );
+ $j('#volume_bar_'+embedObj.id).addClass("ui-slider-handle");
+$j('#vol_'+embedObj.id).click(function(){
+ $j('#vol_'+embedObj.id).removeClass("ui-icon-volume-on");
+ $j('#vol_'+embedObj.id).addClass("ui-icon-volume-off"); });
ALGO DE CODIGO VLC!!!
onPause: function(){
this.parent_pause(); //update the inteface if paused via native control pause : function(){
}, this.parent_pause(); //update the inteface if
onStop: function(){ paused via native control
js_log('vlc:onStop:'); if( this.vlc ){
if(!this.seeking) this.vlc.playlist.togglePause();
this.onClipDone(); }
}, },
/* js hooks/controls */ toggleMute:function(){
play : function(){ this.parent_toggleMute();
js_log('f:vlcPlay'); this.getVLC();
this.getVLC(); if(this.vlc)
//call the parent this.vlc.audio.toggleMute();
this.parent_play(); },
if( this.vlc ){ //@@ Suport UpDateVolumen
//plugin is already being present send play call: updateVolumen:function(perc){
// clear the message log and enable error logging this.getVLC();
if( this.vlc.log ){ if(this.vlc)
this.vlc.log.messages.clear(); this.vlc.audio.volume = perc*100;
}
if(this.vlc.playlist) },
this.vlc.playlist.play(); //@@ Get Volumen
getVolumen:function(){
this.monitor(); this.getVLC();
this.paused=false; if(this.vlc)
} return this.vlc.audio.volume / 100;
}, },
stop : function(){ fullscreen : function(){
if(this.vlc){ if(this.vlc){
if(typeof this.vlc != 'undefined' ){ if(this.vlc.video)
if(typeof this.vlc.playlist != 'undefined'){ this.vlc.video.toggleFullscreen();
//dont' stop (issues all the plugin-stop actions) }
//this.vlc.playlist.stop(); },
if( this.monitorTimerId != 0 )
{
clearInterval(this.monitorTimerId);
this.monitorTimerId = 0;
}
}
}
}
//this.onStop();
//do parent stop
this.parent_stop();
},
ALGO DE CODIGO Native HTML 5 !!!
pause : function(){
this.getVID();
this.parent_pause(); //update interface
CSS ALGO
if(this.vid){ .mv-player .volume_on {
this.vid.pause(); background: url(images/player_volume_tag.png) 0 8px no-repeat;
} }
//stop updates: .mv-player .volume_off{
this.stopMonitor(); background: url(images/player_volume_tag_off.png) 0 8px no-repeat;
}, }
play:function(){
this.getVID(); .mv-player .volume_knob {
this.parent_play(); //update interface background: url(images/player_slider.png) 0 0 no-repeat;
if( this.vid ){ width: 14px;
this.vid.play(); height: 14px;
//re-start the monitor: position: absolute;
this.monitor(); z-index: 2;
} margin: -1px 0 0 3px;
}, cursor: pointer;
toggleMute:function(){ }
this.parent_toggleMute(); .mv-player .vol_container{
this.getVID(); z-index:99;
if(this.vid) width:23px;
this.vid.muted = this.muted; height:75px;
}, width:23px;
updateVolumen:function(perc){ background: #CCC;
this.getVID(); }
if(this.vid) .mv-player .vol_container_below{
this.vid.volume = perc; top:30px;
}, }
getVolumen:function(){ .mv-player .vol_container_top{
this.getVID(); top:-77px;
if(this.vid) }
return this.vid.volume; .mv-player .vol_container .volume-slider{
}, margin-top:5px;
getNativeDuration:function(){ height:65px;
if(this.vid) width:10px;
return this.vid.duration; margin-left: auto ;
}, margin-right: auto ;
load:function(){ }
this.getVID();
if( !this.vid ){
//no vid loaded
js_log('native::load() ... doEmbed');
this.onlyLoadFlag = true;
this.doEmbedHTML();
}else{
//won't happen offten
this.vid.load();
}
Primer Periodo de Evaluacion
ES COMO
# Comer Agujas – Clavos – Vidrio -
Tomar Veneno de Cobra …
Primitive
Video and Audio Relational Search
Nucleo del Video Relational Search !!!
CORE
+ "wikiTitleKey":null,
En Funciones
+
+ if($j(video_element).attr('wikiTitleKey'))
# API DE WIKIMEDIA
+ this.wikiTitleKey=$j(video_element).attr('wikiTitleKey');
COMMONS y OTRAS
+
+
mvVideoAudioSearch:function(){
// Primitive Search en Wikimedia Coommons ///
WIKI
+ var url_search = 'http://commons.wikimedia.org/w/api.php';
+ js_log('thum disp:'+ url_search );
+
+
+
js_log('switch video Relational' );
var _this=this
# JSON – JQUERY –
+
+
+
var reqObj = {
'action':'query',
DOM
+ 'titles': this.wikiTitleKey ,
+ 'generator':'categories'
+
+
+
};
+ this.onClipDone_disp=true;
+ this.thumbnail_disp=true;
+ //make sure we are not in preview mode( no end clip actions in preview mode)
+ if( this.preview_mode )
+ return ;
+ $j('#img_thumb_'+this.id).css('zindex',1);
+ $j('#big_play_link_'+this.id).hide();
+ //add the liks_info_div black back
+ $j('#dc_'+this.id).append('<div id="liks_info_'+this.id+'" ' +
+ 'style="width:' +parseInt(parseInt(this.width)/2)+'px;'+
+ 'height:'+ parseInt(parseInt(this.height)) +'px;'+
+ 'position:absolute;top:10px;overflow:auto'+
+ 'width: '+parseInt( ((parseInt(this.width)/2)-15) ) + 'px;'+
+ 'left:'+ parseInt( ((parseInt(this.width)/2)+15) ) +'px;">'+
+ '</div>' +
+ '<div id="black_back_'+this.id+'" ' +
+ 'style="z-index:-2;position:absolute;background:#000;' +
+ 'top:0px;left:0px;width:'+parseInt(this.width)+'px;' +
+ 'height:'+parseInt(this.height)+'px;">' +
+ '</div>' +
+ '<div class="widget" >' +
+ '<h1>Video and Audio Relational </h1>'+
+ '<div class="widget_style">' +
+ '<ul id="gerard" >' + '</br> ' +
+ '</ul>' +
+ '</div>' +
+ '</div>'
+ );
+ this.mvVideoAudioSearch();
+ //start animation (make thumb small in upper left add in div for "loading"
+ $j('#img_thumb_'+this.id).animate({
+ width:parseInt(parseInt(_this.width)/2), height:parseInt(parseInt(_this.height)/2), top:20, left:10
+ },
+ 1000,
+ function(){
+ //animation done.. add "loading" to div if empty
+ if($j('#liks_info_'+_this.id).html()==''){
+ $j('#liks_info_'+_this.id).html(gM('loading_txt')); }})
+ //now load roe if run the showNextPrevLinks
+ if(this.roe && this.media_element.addedROEData==false){
+ do_request(this.roe, function(data)
+ {
+ _this.media_element.addROE(data);
+ _this.getNextPrevLinks();
+ }); else{
+ this.getNextPrevLinks(); }},
+
/* Search Video */ +.widget a.previous{
+.widget { + float:left;
+width:345px; + display:block;
+z-index:6663; + width:20px;
+position: relative; + height:20px;
+width: 400px; + margin-top:28px;
+height: 130px; + margin-right:2px;
+left: 0px; +}
+top: 20px; +.widget a.next{
+background : transparent url(images/bg_202020_90.png) repeat scroll 0 0; + float:right;
+overflow-x:auto; + display:block;
+} + width:20px;
+.widget h1 { + height:20px;
+border:medium none; + margin-top:-31px;
+font-size:20px; +}
+margin:4px 0px 4px 11px; +
+padding:0; +.widget_style {
+color:#F0F0F0; +text-align:left;
+font-family:arial,sans-serif; +padding:0px 0px 0px 0px;
+} +}
+
+ +
+.widget_style li div { +.widget_style ul {
+float:right; +margin:0;
+margin:5px 0 0 10px; +padding:0;
+width:200px; +
+} +list-style-image:none;
+ +list-style-position:inside;
+.widget_style img { +list-style-type:none;
+width:90px; +margin:0;
+height:70px; +padding:0;
+z-index:2; +}
+border-bottom:3px solid #36393D; +
+border-top:3px solid #36393D; +
} +.widget_style li{
+-x-system-font:none;
+//background-color:red;
+color:#FAFAFA;
+display:table;
+font-family:arial,sans-serif;
+font-size:11px;
+font-size-adjust:none;
+font-stretch:normal;
+font-style:normal;
+font-variant:normal;
+font-weight:normal;
+line-height:normal;
+margin:0 0 6px 35px;
+padding:0;
+}
VEAMOS
Si Corre en FF en ubuntu
...
Un “Wikipedia Con Videos“
SIPI...
Proximo Paso:
Videos
Multimedia
Add Media Wizard
Shared javascript Remote Repository Search Wikimedia network
Provides Media of sites
Interfaces for:
Sequencer:
Legislative Video
Provides add media
Wiki
wizard for in page
insert
My Own
Open Licensed Content Network: Wiki.com
Client side
●archive.org firefog or image uploads
●metavid.org
●commons.wikimedia.org
●Flickr
●etc.
Add Media Wizard
Enabled by search apis (json, rss)
Insert / Import based on Context
In-line edit & layout tools: crop, scale, filters, etc
Add Media Wizard