Code Monkey home page Code Monkey logo

Comments (6)

sagiadinos avatar sagiadinos commented on May 25, 2024

Holá,

There is no support for background images, currently. One possible workaround is: you can try to use two overlapping regions and set the "background" image in the back region as infinity loop.

I implemented backgroundImage and backgroundRepeat functionality for regions yesterday, but the solution is unsatisfying so I did not commit the code.

The problem is that QWidget supports only local files as backgrounds. So background image must downloaded first. If the player starts the SMIL-File with a remote background image for the first time, the download is not completed and background will not shown.

Give me some time to find a more elegant solution. If you can live with local background files I can commit the current code.

from garlic-player.

adalidortiz avatar adalidortiz commented on May 25, 2024

I'am wil try with overlays as you say.

Gracias !

from garlic-player.

sagiadinos avatar sagiadinos commented on May 25, 2024

I changed some internal calls in the lib and now garlic-player (build v0.3.0.430) support background images and background-repeat attribute as expected.
The workaround with a multi zone is not necessary anymore ;)

from garlic-player.

adalidortiz avatar adalidortiz commented on May 25, 2024

Hi Mr. Sagiadinos, thanks for the feature. How can i include this feature in my smil index. Can you share the tags?

Gracias !!!

from garlic-player.

sagiadinos avatar sagiadinos commented on May 25, 2024

Hi,
Here you can find a small demonstration with a multizone playlist and par running images.

https://github.com/sagiadinos/garlic-player/blob/master/tests/data/smil/simple_par_with_backgrounds.smil

from garlic-player.

adalidortiz avatar adalidortiz commented on May 25, 2024

Many thanks !!!

from garlic-player.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.