是否有videogular2的海报插件?

时间:2018-01-03 16:46:44

标签: angular videogular

我正在使用videogular2 api在我的应用程序中播放视频。我看到有视频的海报插件。但我没有找到 videogular2 。如果你遇到这个问题,有人可以指出我正确的方向。

2 个答案:

答案 0 :(得分:2)

scala> val arr = Array(("something","else"),("foo","a"),("bar","b"),("some","c"),("a1","b1"),("a2","b2"),("a3","b3"),("a4","b4"),("a5","b5"),("a6","c6")) arr: Array[(String, String)] = Array((something,else), (foo,a), (bar,b), (some,c), (a1,b1), (a2,b2), (a3,b3), (a4,b4), (a5,b5), (a6,c6)) scala> val testMap = scala.collection.mutable.LinkedHashMap[String,String]() testMap: scala.collection.mutable.LinkedHashMap[String,String] = Map() arr.foreach(x=> testMap += (x._1 ->x._2)) scala> testMap res1: scala.collection.mutable.LinkedHashMap[String,String] = Map(something -> else, foo -> a, bar -> b, some -> c, a1 -> b1, a2 -> b2, a3 -> b3, a4 -> b4, a5 -> b5, a6 -> c6) 标记有poster属性,您只需设置图像路径即可。一个例子:

video

答案 1 :(得分:0)

对于像我一样的每个搜索vg-poster标签并且不想使用post属性的人。