Announcement

Collapse
No announcement yet.

VLC media player activex

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VLC media player activex

    Hello everyone,

    is it possible to use VLC media player activex with ams ?

    thanks

  • #2
    There is, I think, a VLC media player module for lua that gives you all the features of VLC via AMS:

    Comment


    • #3
      Originally posted by Shrek View Post
      There is, I think, a VLC media player module for lua that gives you all the features of VLC via AMS:

      https://code.google.com/p/lua-files/
      Can you help us how to use with AMS ?!

      Comment


      • #4
        You can host VLC Player activex control with ActiveX plugin
        amsplugins.com Is Closed.

        Facebook Page

        Comment


        • #5
          aspectRatio
          BSTR aspectRatio()
          Returns video aspect ratio.
          LuaCOM examples:

          com_obj.aspectRatio
          com_obj:getaspectRatio()

          if (VlcPlayer) then
          local Video = VlcPlayer:getvideo()
          if(Video) then
          Video.setaspectRatio("16:9")
          end
          end
          Video object

          readonly properties
          vlc.video.width: returns the horizontal size of the video
          vlc.video.height: returns the vertical size of the video
          read/write properties
          vlc.video.fullscreen: when set to true the video will be displayed in fullscreen mode, when set to false the video will be shown inside the video output size. The property takes a boolean as input.
          vlc.video.aspectRatio: get and set the aspect ratio to use in the video screen. The property takes a string as input value. Typical values are: "1:1", "4:3", "16:9", "16:10", "221:100" and "5:4"
          vlc.video.subtitle: (supported in vlc version > 0.8.6a) get and set the subtitle track to show on the video screen. The property takes an integer as input value [1..65535]. If subtitle track is set to 0, the subtitles will be disabled. If set to a value outside the current subtitle tracks range, then it will return -1 and display an error message.
          vlc.video.teletext: (supported in vlc version >= 0.9.0) get and set teletext page to show on the video stream. This will only work if a teletext elementary stream is available in the video stream. The property takes an integer as input value [0..999] for indicating the teletext page to view, setting the value to 0 means hide teletext. On error it will return -1 and display an error message.
          methods
          vlc.video.toggleFullscreen(): toggle the fullscreen mode based on the previous setting
          vlc.video.toggleTeletext(): (supported in vlc version >= 0.9.0) toggle the teletext page to overlay transparent or not, based on the previous setting


          What is wrong with aspectRatio()

          thanks

          Comment


          • #6
            Ok I reslov problem code is

            if (VlcPlayer) then
            local Video = VlcPlayer:getvideo()
            if(Video) then
            Video:setAspectRatio"16:9"
            end
            end

            Comment


            • #7
              VLC ActiveX example IPTV Player

              ActiveX - VLCPlayer_001.apz

              TpyeLibInfo.rar

              TpyeLibInfo.zip

              Click image for larger version

Name:	vlc activex iptv.jpg
Views:	1
Size:	112.7 KB
ID:	284101

              Comment


              • #8
                Originally posted by dvbappx View Post
                VLC ActiveX example IPTV Player

                [ATTACH]12464[/ATTACH]

                [ATTACH]12466[/ATTACH]

                [ATTACH]12467[/ATTACH]

                [ATTACH=CONFIG]12465[/ATTACH]

                This project is not working for me. Does anyone know what the problem may be, I need it, please help me!

                Comment


                • #9
                  Originally posted by usbav View Post


                  This project is not working for me. Does anyone know what the problem may be, I need it, please help me!

                  Comment


                  • #10
                    Click image for larger version

Name:	martino.gif
Views:	391
Size:	23.0 KB
ID:	307728



                    if you don't tell us what you want to do ...........
                    How can we help you

                    Comment


                    • #11
                      Originally posted by herrin View Post
                      Click image for larger version

Name:	martino.gif
Views:	391
Size:	23.0 KB
ID:	307728



                      if you don't tell us what you want to do ...........
                      How can we help you

                      The ActiveX plugin does not integrate with VLC, I am using the latest version of VLC, in the example in the photo it works fine but not for me. What could it be?


                      VlcPlayer = ActiveX.QueryInterface("Plugin1");

                      if (VlcPlayer) then
                      Dialog.Message("","THIS NOT WORK")
                      VlcPlayer:setVolume(100)
                      VlcPlayer:setToolbar(true)
                      end

                      Comment


                      • #12
                        dude example work fine (VLC version 3.0.16)



                        Click image for larger version

Name:	Cattura.PNG
Views:	390
Size:	188.9 KB
ID:	307731 Click image for larger version

Name:	Cattura2.PNG
Views:	398
Size:	168.6 KB
ID:	307732

                        Comment


                        • #13
                          Originally posted by herrin View Post
                          dude example work fine (VLC version 3.0.16)



                          Click image for larger version

Name:	Cattura.PNG
Views:	390
Size:	188.9 KB
ID:	307731 Click image for larger version

Name:	Cattura2.PNG
Views:	398
Size:	168.6 KB
ID:	307732

                          That's what I want to do but I can't. In your ActiveX folder, do you use the www.amsplugins.com plugin? or the native?

                          Comment


                          • #14
                            Click image for larger version

Name:	vlc.png
Views:	374
Size:	32.6 KB
ID:	307735
                            VLC is supposed to show up in these options, but it doesn't show up on my pc. I have the latest version installed. What else can it be?

                            Comment


                            • #15

                              PROBLEM SOLVED!!! Never but never, install the 64bit VLC version, the 32 is the one that work

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎