pducharme / UniFi-Video-Controller

Docker for Unifi-Video Controller (Ubiquiti Networks)
200 stars 105 forks source link

Cannot view videos in client #186

Open nicxvan opened 4 years ago

nicxvan commented 4 years ago

I can see which recordings exist, but I cannot view them, I need to download them and play them in quick time.

I get the following errors in the console.


login

Security Error: Content at http://IPADDRESS:7080/ may not load data from blob:http://IPADDRESS:7080/uuid1.

Invalid URI. Load of media resource  failed. recordings

Security Error: Content at http://IPADDRESS:7080/ may not load data from blob:http://IPADDRESS:7080/uuid2.
Source map error: Error: request failed with status 404

Resource URL: http://IPADDRESS:7080/static/js/uv3.uuid3.min.js
Source Map URL: uv3.uuid4.min.js.map```
fryfrog commented 4 years ago

Show us your docker run or docker-compose.

nicxvan commented 4 years ago

    image: pducharme/unifi-video-controller
    restart: always
    ports:
      - 10001:10001
      - 1935:1935
      - 6666:6666
      - 7080:7080
      - 7442:7442
      - 7443:7443
      - 7444:7444
      - 7445:7445
      - 7446:7446
      - 7447:7447
    cap_add:
      - DAC_READ_SEARCH
    tmpfs: /var/cache/unifi-video
    environment:
      - TZ="America/New_York"
      - PUID=99
      - PGID=100
      - CREATE_TMPFS=no
      - DEBUG=1
    volumes:
      - /mnt/surveillancevol1/unifidata:/var/lib/unifi-video
      - /mnt/surveillancevol1/unifivideos:/usr/lib/unifi-video/data/videos```
Geraldf commented 3 years ago

I had the same issue, and it turns out, that this only works with Chrome. Using FireFox is showing the above behaviour.