当SWF文件推到谷歌的Swiffy,它告诉我,我的文件大小是例如40kb,但是当我下载gzip文件并打开它时,html文件变成160kb,并且看起来像是有一个420kb的runtime.js文件。 谷歌的guidlienes表示,a)文件需要以zip格式发送而不是gzip b)他们需要在150kb以下
所以我尝试了zippy flash扩展在160kb工作很好,我可以很容易地压缩,但它仍然要求 https: //www.gstatic/swiffy/v7.2.0/runtime.js Google决不让我将脚本嵌入到Flash横幅中,现在是否允许HTML5横幅广告?我可以用这种方式构建横幅并从gstatic网站嵌入此运行时文件吗?有没有人有这方面的经验或谁知道一个替代?
谢谢!
解决方案 div>你说得对,由于文件的大小,Swiffy输出对于标准横幅广告网络来说是不可行的。 Google做了很多事情;只是因为他们建立Swiffy和AdWords并不意味着这些产品一起。 将Flash横幅转换为HTML5并不容易且可用。我们使用GSAP补间来建立同样设计的Flash和HTML版本,效果很好。或者,如果您可以使用CSS过渡功能来完成所有的动画,那么这可能是最小的文件大小,但仍然会超过许多发行商仍然拥有的4万个限制。对于这些网站,您可能会遇到Flash或静态图片。
This is a google flash to html5 banner question.
When shoving in SWF files to google's Swiffy, it tells me my filesize is e.g. 40kb, but then when i download the gzip file and open it the html file becomes 160kb, and there looks like there's a runtime.js file which is 420kb. Google's guidlienes state that a)files need to be sent in a zip format not gzip b)they need to be under 150kb
So I tried the zippy flash expansion which worked great at 160kb which i could compress easily but then it still calls for www.gstatic/swiffy/v7.2.0/runtime.js Google never let me embed scripts into flash banners, is this now allowed for html5 banners? Can I build banners this way and embed this runtime file from that gstatic site? Does anyone have any experience with this or who knows an alternative?
Thanks!
解决方案You're right, Swiffy output isn't feasible for standard banner ad networks, due to file size. Google does a lot of things; just because they built both Swiffy and AdWords doesn't mean those products go together. There's not an easy and usable way to convert a Flash banner to HTML5. We've had good results using GSAP tweens to build Flash and HTML versions of the same design. Or, if you can do all your animation with CSS transitions, that's probably going to be the smallest file size, but will still be over the 40k limit that many publishers still have. For those sites, you'll probably be stuck with either Flash, or a static image.
更多推荐
Swiffy的出口与谷歌的指引冲突
发布评论