博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[翻译] DraggableYoutubeFloatingVideo
阅读量:7197 次
发布时间:2019-06-29

本文共 853 字,大约阅读时间需要 2 分钟。

DraggableYoutubeFloatingVideo

 

 

DraggableYoutubeFloatingVideo allows you to play videos on a floating mini window at the bottom of your screen from sites like YouTube, Vimeo & Facebook or custom video url , yes you have to specify URL for that.

DraggableYoutubeFloatingVideo允许你在一个浮窗上面播放视频,就像Youtube、Vimeo、或者是Facebook的自定义视频窗口一样。

 

Usage

Initialize from a storyboard id programmatically. Set the video URL , then you're pretty much good to go! Check out the demo app to see how it can be used.

从storyboard初始化,设置一个视频的链接地址,然后你就可以使用了,你可以在demo演示中查看用法。

 

How it works

This demo app will animate the view just like Youtube mobile app, while tapping on video a UIView pops up from right corner of the screen and the view can be dragged to right corner through Pan Gesture and more features are there as Youtube iOS app

这个demo中的动画效果就像Youtube的app一样,可以通过手的滑动来改变视频播放界面的大小。

转载地址:http://wqkum.baihongyu.com/

你可能感兴趣的文章
数据库根据键值自动判断插入还是更新的SQL
查看>>
给你一个正整数列表 L, 如 L=[2,8,3,50], 输出L内所有数字的乘积末尾0的个数
查看>>
获取客户端IP地址
查看>>
RabbitMQ内存与磁盘管理
查看>>
网络渲染服务如何让你满意?
查看>>
渲染狂欢ing
查看>>
CSS各种形状
查看>>
SQL语句重复数据取一条
查看>>
多次调用 android onmesure onlayout
查看>>
Matlab教程2_ 绘图 _ 二维
查看>>
五种情况下Win7或重蹈Vista覆辙
查看>>
Timer定时器
查看>>
Win7、Ubuntu双系统正确卸载Ubuntu系统
查看>>
两数互换的例子
查看>>
我的友情链接
查看>>
网络拓扑自动发现-Sugarnms智能网管软件的基础
查看>>
线程的状态转换图
查看>>
我的友情链接
查看>>
在interface builder中设置多个等比例排列的View
查看>>
VMware vSphere 5.0 五大改变
查看>>