Comments (3)
怎么转视频呢
Facebook playable ad 支持 zip 格式,可通过下述方式导出 zip 支持。
- mp3、png 等原先支持的格式保持转换为 res.js 即可;
- mp4 不需要特殊转换,保持 cocos creator 的目录结构(res/raw-assets/xx/xxx.mp4)拷贝出来即可;
- 修改 start.ts 文件,跳过 mp4 的转换;
- 修改 start.ts 文件,把原脚本嵌入 html 的部分替换为相对路径引入即可;
- 拷贝需要引入的 js / css 等文件;
- 压缩成 zip 文件。
from cocos-to-playable-ad.
怎么转视频呢
Facebook可播放广告支持zip格式,可通过依次方式扩展zip支持。
- mp3,png等原先支持的格式保持转换为res.js即可;
- mp4不需要特殊转换,保持cocos creator的目录结构(res / raw-assets / xx / xxx.mp4)复制出来即可;
- 修改start.ts文件,跳过mp4的转换;
- 修改start.ts文件,把原脚本嵌入html的部分替换为相对路径帖子即可;
- 副本需要约会的js / css等文件;
- 压缩成zip文件。
那二进制文件呢
from cocos-to-playable-ad.
怎么转视频呢
Facebook playable ad 支持 zip 格式,可通过下述方式导出 zip 支持。
- mp3、png 等原先支持的格式保持转换为 res.js 即可;
- mp4 不需要特殊转换,保持 cocos creator 的目录结构(res/raw-assets/xx/xxx.mp4)拷贝出来即可;
- 修改 start.ts 文件,跳过 mp4 的转换;
- 修改 start.ts 文件,把原脚本嵌入 html 的部分替换为相对路径引入即可;
- 拷贝需要引入的 js / css 等文件;
- 压缩成 zip 文件。
解决了~
from cocos-to-playable-ad.
Related Issues (10)
- Uncaught SyntaxError: Unexpected token '<' HOT 3
- 1.9.3 编译报错:Uncaught TypeError: Cannot read property 'debug' of undefined HOT 1
- 打包完会有个问题找不到tagName HOT 2
- cocos如何将物理和骨骼模块打包进单html
- cocos creator2.4.1版本,怎么打包成单html呢 HOT 1
- 如何将3d项目,打包成html里。烦请大神更新,以供小弟学习
- 怎么把3d项目打包进html里 HOT 2
- CocosCreator2.4.2,打包失败
- 使用ttf字体,加载失败
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocos-to-playable-ad.