• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    how to detect opera is playing a flash video or not ?

    Opera for Linux
    2
    4
    1500
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bruceauyeung
      bruceauyeung last edited by

      openSUSE 13.2 64bit
      opera 26.0.1656.60

      i try to write a shell script to detect whether opera is playing a flash video or not.
      at the very beginning of running opera (none web page opened), i find there are so many processes similar to the following one even if none flash video is playing:

      /usr/lib64/opera/opera --type=renderer --alt-high-dpi-setting=96 --disable-direct-npapi-requests --enable-deferred-image-decoding --lang=zh-CN --disable-client-side-phishing-detection --ppapi-flash-path=/opt/google/chrome-beta/PepperFlash/libpepflashplayer.so --ppapi-flash-version=16.0.0.252 --with-feature:enhanced-autofill --enable-delegated-renderer --enable-impl-side-painting --num-raster-threads=1 --disable-accelerated-video-decode --channel=12246.17.2095401806
      

      so i can not check a process info whether contains libpepflashplayer.so literal string or not to determine opera is playing flash video.

      after i open a web page containing flash video. i find a process comes out:

      /usr/lib64/opera/opera --type=ppapi --channel=12246.21.967257779 --ppapi-flash-args --lang=zh-CN
      

      i am very excited. i think maybe this process is the key to solve my problem. maybe a process similar to opera --type=ppapi means flash video being played. but after i close this web page and stop playing flash video, this process remains existent.

      so would you please to tell me how to determine whether opera is playing a flash video or not ?

      Reply Quote 0
        1 Reply Last reply
      • ruario
        ruario last edited by

        Use opera's own built in task manager.

        Reply Quote 0
          1 Reply Last reply
        • bruceauyeung
          bruceauyeung last edited by

          hi ruario, thanks for your reply.
          is it possible for shell script to communicate with opera's own task manager ? if so then how to do it ?

          Reply Quote 0
            1 Reply Last reply
          • bruceauyeung
            bruceauyeung last edited by

            seems no chance to communicate with opera's own task manager, right ?

            Reply Quote 0
              1 Reply Last reply
            • First post
              Last post

            Computer browsers

            • Opera for Windows
            • Opera for Mac
            • Opera for Linux
            • Opera beta version
            • Opera USB

            Mobile browsers

            • Opera for Android
            • Opera Mini
            • Opera Touch
            • Opera for basic phones

            • Add-ons
            • Opera account
            • Wallpapers
            • Opera Ads

            • Help & support
            • Opera blogs
            • Opera forums
            • Dev.Opera

            • Security
            • Privacy
            • Cookies Policy
            • EULA
            • Terms of Service

            • About Opera
            • Press info
            • Jobs
            • Investors
            • Become a partner
            • Contact us

            Follow Opera

            • Opera - Facebook
            • Opera - Twitter
            • Opera - YouTube
            • Opera - LinkedIn
            • Opera - Instagram

            © Opera Software 1995-