我见过** fluidicenergy.com ** 我有兴趣创建可移动菜单或类似的链接。我不知道怎么做..?
我找到了像这样的剧本
<div class="canvas_container">
<a name="breakthrough_anchor" id="breakthrough_anchor" class="named_anchor"></a>
<canvas id="c_breakthrough" style="width: 1000px; height: 800px;" width="1000" height="800">
<h2>Breakthrough</h2>
<ul>
<li>Integrated energy storage, electronics & software on a simple platform</li>
<li>Modular scalability onsite from kWh to MWh</li>
<li><span class="OutagesCovered">571,153</span> commercial cycles</li>
<li>Lowest cost energy storage for load shifting applications</li>
<li>3x to 6x longer life, unaffected by hot environments & harsh duty cycles</li>
</ul>
</canvas>
</div>
但是,我仍然找不到方法。
提前致谢
答案 0 :(得分:0)
您可以使用#include <stdio.h>
#include <stdlib.h>
#include <librtmp/rtmp.h>
#include <librtmp/log.h>
int main(){
RTMP *r;
RTMPPacket packet;
char uri[] = "rtmp://167.114.171.21:1936/tinyconf app=tinyconf timeout=180000 live=1 conn=S:ROOMNAME swfurl=http://tinychat.com/embed/Tinychat-11.1-1.0.0.0602.swf";
RTMP_LogLevel loglvl=RTMP_LOGDEBUG2;
RTMP_LogSetLevel(loglvl);
r = RTMP_Alloc();
RTMP_Init(r);
RTMP_SetupURL(r, (char*)uri);
RTMP_Connect(r, NULL);
while (RTMP_IsConnected(r)) {
RTMP_ReadPacket(r, &packet);
if (!RTMPPacket_IsReady(&packet))
continue;
RTMP_ClientPacket(r, &packet);
RTMPPacket_Free(&packet);
}
RTMP_Close(r);
RTMP_Free(r);
return 1;
}
和jquery
的某些代码来实现这一目标。
请按照演示链接:
<强> DEMO 强>