转载请注明出处:http://www.cnblogs.com/fangkm/p/3797278.html承接上一篇文章。媒体播放,需要指定一个源文件,html5用URL格式来指定视频源文件地址,可以是http链接,也可以使本地源文件(不能直接指定,需要借助blob二进制类型)。播放网络文件比播放本地...
分类:
Web程序 时间:
2014-06-28 17:43:41
阅读次数:
430
显示位图,你应该使用GDI+里面的Bitmap类或者Image类,这两个类都提供了方法从硬盘上的一个文件打开文件,创建相应的内存中的位图对象的工作。然后你可以使用Graphics类的DrawImage方法来绘制该位图。下面的代码初始化GDI+,显示一个打开文件对话框并且创建Bitmap对象,显示位图...
http://robots.thoughtbot.com/designing-for-ios-graphics-performance 【原文】In the previous article, we exploreddifferent techniques to customize the loo....
分类:
移动开发 时间:
2014-06-21 00:41:16
阅读次数:
387
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, ...
分类:
其他好文 时间:
2014-06-20 19:35:03
阅读次数:
167
在PC浏览器中播放视频,大部分视频网站都是采用flash播放器,这多亏了Adobe Flash Player庞大的装机量。但Flash Player对于浏览器来说就是一个插件,插件内部下载flv流、解析flv视频格式、播放视频等流程与浏览器都没有太大关系。浏览器新标准HTML5中增加了视频支持。
分类:
其他好文 时间:
2014-06-18 13:20:51
阅读次数:
392
1、安装chromesudo apt-get install chromium-browsersudo apt-get install pepperflashplugin-nonfreesudo update-pepperflashplugin-nonfree --install2、Ubuntu设置...
分类:
其他好文 时间:
2014-06-18 13:18:41
阅读次数:
175
The HTML5 element is used to draw graphics, on the fly, via scripting (usually JavaScript).1、本身没有外观,只是在文档中创建了一个画板,我们需要使用脚本来画图2、IE9前的浏览器不支持canvas3、使用c....
分类:
Web程序 时间:
2014-06-18 10:35:17
阅读次数:
274
一、firefox 正确安装Adobe flash player有时候我们须要在Ubuntu下採用手动安装一些软件,比方Firefox的Flash插件。Adobe® Flash® Player 是一款轻量级浏览器插件,具有丰富的 Internet 应用执行时间,提供持续的迷人用户体验、绝妙的音频/视...
分类:
其他好文 时间:
2014-06-17 21:01:57
阅读次数:
263
The Android framework APIs provides a set 2D drawing APIs that allow you to render your owncustom graphics onto a canvas or to modify existing Views t...
分类:
移动开发 时间:
2014-06-17 19:48:07
阅读次数:
255
1.写一个类继承TextView[java]view plaincopypackagecom.example.tt;importandroid.content.Context;importandroid.graphics.Rect;importandroid.util.AttributeSet;im...
分类:
其他好文 时间:
2014-06-17 15:43:33
阅读次数:
264