You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/IoTClient/Assets/Scripts/VlcPlayerController.cs

19 lines
476 B

using UMP;
using UnityEngine;
using UnityEngine.EventSystems;
public class VlcPlayerController : MonoBehaviour, IPointerClickHandler
{
public UniversalMediaPlayer player;
private void Start()
{
//player.Path = "http://49.4.92.112:8080/live/ec352fafdaed11b584c2f84dfc5f0e6f.flv";
player.Path = "http://clips.vorwaerts-gmbh.de/VfE_html5.mp4";
player.Play();
}
public void OnPointerClick(PointerEventData eventData)
{
}
}