Jump to content

[WIP] [CEF] Cinema


lopezloo

Recommended Posts

logosmall.png

Important: This gamemode doesn't work on current MTA release! It's experimental resource made for Browser/Awesomium branch (click here if you don't know what is this).

Features:

  • rooms (1 room can have multiple screens with same video)
  • requesting videos
  • fully synchronized query list
  • YouTube, Vimeo and Twitch support
  • fullscreen mode
  • vote to skip
  • room chat
  • ?

Screens

7X6jlags.png fzzppMJs.png dCIG7Oas.png q5ZDmIAs.png cUog0OOs.png

9k8HxZZl.png

(map found on internet, author: Anchy95)

Testing/using:

To run this resource you have to install awesomium branch (r6798).

Source: https://github.com/lopezloo/mta-cinema

Test map: https://mega.co.nz/#!CBg3EJaJ!3RjlWmODo ... 2I-4VbEtyU

Creating maps:

Currently there no editor plugin so you need make rooms manually. Serverside function syntax:

exports.cinema:createRoom(string roomName, table screenObjects, float x, float y, float z, float width, float depth, float height) 

(check test map for example)

Edited by Guest
Link to comment

Nice.

We're having discussions over Flash support, and wherever possible it would be of great benefit if you could prioritize the use of html5. YouTube and Vimeo in particular (Twitch lacks Flash). This is simply because Flash poses various issues (security, compatibility etc).

So if you could have some stuff to force html5, that would be great (there might be some further functions for user agent hacks in future).

Link to comment

YouTube and Vimeo already were playing in HTML5 (for YT I used link for TVs so I can play all videos including this from VEVO). I have no idea whether Awesomium support HLS. If yes I need only change user agent to play Twitch in HTML5.

Link to comment
YouTube and Vimeo already were playing in HTML5 (for YT I used link for TVs so I can play all videos including this from VEVO). I have no idea whether Awesomium support HLS. If yes I need only change user agent to play Twitch in HTML5.

No HLS support unfortunately. So it's gotta be Flash, unless you have any other suggestions. Great job on that though.

Link to comment
  • 3 weeks later...

Awesome bro, but does it work by just pasting link in projector GUI (the main GUI...) and it will be a youtube link? I don't think thats possible but Can you explain how or what did you use to make it?

Really impressed bro, made the impossible to possible.

Link to comment
  • 1 month later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...