摘要:
Database.html<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title></title></head><body><script>if(window.Worker){var worker=new Worker('worker.js');//向worker发送消息worker.onerror=function(e){alert("于第["+e.lineno+" 阅读全文
摘要:
<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title></title></head><body><script>//(4)SQL操作的回调函数function queryResult(tx,result){try{var rowList=result.rows;for(var i=0;i<rowList.length;i++){var row=rowList.item(i);for(var j in ro 阅读全文
摘要:
<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title></title></head><body><script>//(4)SQL操作的回调函数function queryResult(tx,result){try{var rowList=result.rows;for(var i=0;i<rowList.length;i++){var row=rowList.item(i);for(var j in ro 阅读全文
摘要:
视频支持的格式:ogg,h.264,mp4,webm音频支持的格式:oggvorbis,mp3,wav,aac,webm音频需要配置mime类型viedo.html<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title>视频和音频</title></head><body><div style="text-align:center;"><video width="640" 阅读全文
摘要:
<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title></title><script>var socket;function init(){var url="ws://localhost/12345/";try{socket=new WebSocket(url);socket.onopen=function(event){log("连接已建立"+this.readyState);}; socke 阅读全文
摘要:
sse.html<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title></title><script>var source;function init(){var url="http://localhost/eventsource/server.php";try{source=new EventSource(url);source.onopen=function(event){log("连接已建立&quo 阅读全文
摘要:
<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title></title><script src="http://maps.google.com/maps/api/js?sensor=false"></script></head><body><input type="button" id="btn" value="获取位置&qu 阅读全文
摘要:
worker.html<html><head></head><body><span id="state" style="background-color:#09F"> </span><script>var state=document.getElementById('state');if(window.Worker){var worker=new Worker('worker.js');//向worker发送消息worke 阅读全文
摘要:
inner.html<html><head></head><body><span id="state" style="background-color:#09F"> </span><script>var state=document.getElementById('state');if(window.SharedWorker){var worker=new SharedWorker('worker.js');worker. 阅读全文
摘要:
我采用的是在fms的applications文件夹下赋值live文件夹改名为videoChat配置fms.ini增加程序路径配置videoChat里Application.xml文件<StreamManager><VirtualDirectory> <!-- Specifies application specific virtual directory mapping for streams. --><Streams>/;${VIDEOCHAT_DIR}</Streams></VirtualDirectory></ 阅读全文
摘要:
blackType.html <html> <head> <title></title> <script type="text/javascript" src="http://www.cnblogs.com/ext-all.js"></script> <link rel="stylesheet" type="text/css" href="http://www.cnblogs.com/resources/css/ext-all- 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" top="0" left="0" right="0" bottom="0" backgroundColor="#cccccc" ve 阅读全文