Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The text element does not load files from the file system, nor does it load a data url #9

Closed
skinkie opened this issue Feb 11, 2020 · 0 comments
Assignees

Comments

@skinkie
Copy link
Contributor

skinkie commented Feb 11, 2020

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
1.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<smil>
        <head>
                <meta name="title" content="Simple SMIL for testing images in par and multizone" />
                <layout>
                        <root-layout id="display:0" width="400" height="300" backgroundColor="#00b140"/>
                        <region regionName="screen" top="0" left="0" width="400" height="300" z-index="1" />
                </layout>
        </head>
        <body>
                <img region="screen" xml:id="start" src="http://stefan.konink.de/i/oog.jpg" dur="4s" fit="meetbest" />
                <text region="screen" xml:id="text1" src="data:,Willemijn's%2011th%20Birthday%20Party" dur="2s" fit="meetbest" />
                <text region="screen" xml:id="text2" src="file:///etc/hosts" dur="2s" fit="meetbest" />
                <text region="screen" xml:id="text3" src="/etc/hosts" dur="2s" fit="meetbest" />
        </body>
 </smil>

Expected behavior
I would expect that a text is rendered "Willemijn's 11th Birthday Party" after two seconds, the /etc/hosts file is shown on screen. Since this does work for images it does not make sense it does not for text. For convience prior to solving #7 the extra tag has been added.

@sagiadinos sagiadinos self-assigned this Feb 12, 2020
sagiadinos added a commit that referenced this issue Feb 13, 2020
Fixed issue #9
add widget-class for html5 widgets to library
start support CacheControl
continue code reorganization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants