Wow, that sounds great! Its good that additional parameters like width and height can be specified, because it must for the file to display correctly and sometimes may be set to a customized value. According to this http://stackoverflow.com/questions/5136317/get-dimensions-from-a-flash-file-swf-in-pure-python the width and height is in the .swf's header when inserting the file, but that could perhaps be implemented later.
Do you think it is possible to make an plugin so that when under windows mnemosyne uses flash for video playback? The video tag would need to be replaced under runtime by: <object type="application/x-shockwave-flash" data="video.swf"><param name=FlashVars value="v=myVideoFile.flv" /></object> According to adobe the formats supported are MP4, M4A, MOV, MP4V, 3GP, and 3G2 as long as they use standard H.264 encoding. But does not support MP4 from itunes or digitally encrypted by FairPlay. I also found an excellent source for converting videos here: http://video.online-convert.com Best regards Geir kl. 13:35:59 UTC+2 torsdag 11. oktober 2012 skrev Peter Bienstman følgende: > > It was on my todo list, but not very high up. > > However, since your bug reports have been really valuable, I will boost > the priority of that request. > > What about the following approach: we add 'Insert flash' in the right > click menu, and then you can select a filename. Just like with images, > the swf file will be copied to the media directory, and then Mnemosyne > will insert html like this: > > <object type="application/x-shockwave-flash"> data="drawPad.swf</object> > > At run time, Mnemosyne will expand the argument of 'data' to a full path. > > Obviously, any extra arguments are specific for each swf file and you > would need to add those manually. > > How does this sound? > > Cheers, > > Peter > > > On 10/10/2012 10:22 PM, Gnome wrote: > > forgot the </object> > > > > <object type="application/x-shockwave-flash" > > > data="C:/Users/Gnome/AppData/Roaming/Mnemosyne/default.db_media/drawPad.swf" > > > width="440" height="330"> > > > > and sometimes flashVars may be specified: > > > > <object type="application/x-shockwave-flash" > > > data="C:/Users/Gnome/AppData/Roaming/Mnemosyne/default.db_media/video.swf" > > width="320" height="240"><param name=FlashVars > > value="v=videoTemp/IoO_211224_mild_LIO_Q2.flv" /></object> > > > > > > kl. 17:51:40 UTC+2 onsdag 10. oktober 2012 skrev Gnome f�lgende: > > > > Hi Peter, > > > > You suggested previously to make an tag for flash objects in > > mnemosyne, so that there is no need for using the full path. I see > > now that this would be very useful when sharing card with flash > > object in it or reviewing the cards on another computer because the > > path to defaut_db is different. Do you think this could be > > implemented somehow in an future version of mnemosyne? > > > > Here is an basic flash tag that works in mnemosyne: > > > > -- > > You received this message because you are subscribed to the Google > > Groups "mnemosyne-proj-users" group. > > To post to this group, send email to > > [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/mnemosyne-proj-users/-/q_3sLl2P4pcJ. > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/mnemosyne-proj-users/-/bbbfqS4M0doJ. For more options, visit https://groups.google.com/groups/opt_out.
