Any progress on this bug? I'm planning to have a lot of video content on my
site and the lack of controls will obviously be a big problem.

To emphasise my last post, this happens with the *default theme* with *no
adjustments* to the custom CSS. The error is caused by the 'controls'
attribute of the <video> HTML tag, and shows up when the Tiddler is opened.
It happens with any story view as well.

Example code within a normal Tiddler:

<video autoplay controls>
  <source src="path/to/video.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

I was tempted to use CSS to hide all error messages entirely, but even
though the message is not visible, HTML gets added over and over. This
could be considered a memory leak because there would not be any ability to
close them, eventually causing a slow browser for extended sessions with a
lot of video content.

Some way to suppress that specific error would be nice.

Kalcifer

On Wed, Jan 23, 2019 at 8:26 AM Kalcifer Kandari <[email protected]>
wrote:

> The error is caused by adding the 'controls' attribute to the <video> HTML
> tag.
>
> A workaround is to just remove it because without the tag users can 'right
> click -> Show controls'. Of course if autoplay is not enabled it might be
> easy to miss that it is actually a video and not an image.
>
> Kalcifer
>
> On Tue, Jan 22, 2019 at 12:22 PM Kalcifer Kandari <
> [email protected]> wrote:
>
>> I tried all sorts of different things, including using an <iframe> tag
>> instead of <video>. The <iframe> did not generate any error message, but
>> height of the <iframe> did not adapt when the tiddler got thinner, whereas
>> the <video> tag does. I also tried creating a HTML file with a <video> tag
>> inside, then including that file in an <iframe> within the tiddler, that
>> also did not generate any errors, but that still had the fixed height issue.
>>
>> Here is the HTML for the video, which is inside the tiddler
>> http://kalcifer.net/#Nodius:
>>
>> <video width="100%" height="100%" controls loop autoplay>
>>   <source src="2019_01_22_07_34_06_2.mp4" type="video/mp4">
>>   Your browser does not support the video tag.
>> </video>
>>
>> Here is the CSS for that tag from the custom CSS tiddler
>> http://kalcifer.net/#Custom%20CSS:
>>
>> video {
>>     width: 100% !important;
>>     max-width: 960px !important;
>>     display: block;
>>     margin-left: auto;
>>     margin-right: auto;
>> }
>>
>> Go ahead and edit the tiddlers in your browser and see what changes.
>>
>> Kalcifer
>>
>>
>>
>> On Tue, Jan 22, 2019 at 11:50 AM Jeremy Ruston <[email protected]>
>> wrote:
>>
>>> This error appears to be common, and the consensus is that it is
>>> harmless. See this StackOverflow answer for instance:
>>>
>>> https://stackoverflow.com/a/50387233
>>>
>>> But, of course, it’s not harmless for TW5 since we have a global error
>>> trap that reports it to the user; without that error trap it would just be
>>> another red message visible in the developer console.
>>>
>>> I think we need more investigation to see whether the problem is
>>> triggered by some specific CSS on your site, or if the problem occurs with
>>> the standard TW5 theme. That may show a way to avoid it through rephrasing
>>> your CSS.
>>>
>>> Otherwise, we’ll have to investigate ways of suppressing the error.
>>> Perhaps by adding support for a safelist of errors that should be ignored.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>> On 22 Jan 2019, at 09:29, Kalcifer Kandari <[email protected]>
>>> wrote:
>>>
>>> I don't use any plugins. You can see the configuration of the wiki using
>>> the link I posted, nothing is hidden. I don't think it is caused by CSS,
>>> but that's at http://kalcifer.net/#Custom%20CSS, the relevant style is
>>> under 'video' near the top.
>>>
>>> On Tuesday, January 22, 2019 at 9:12:15 AM UTC, PMario wrote:
>>>>
>>>> hi,
>>>> which plugins do you use?
>>>> -m
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/d198353a-22df-4f48-adf3-3b0122602b5e%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/d198353a-22df-4f48-adf3-3b0122602b5e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/tiddlywiki/vXVLQD58yPQ/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/CC8B740B-A92A-43C2-9C75-380F61525ACD%40gmail.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/CC8B740B-A92A-43C2-9C75-380F61525ACD%40gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAF_%3DHkPoMkW7JBhMMNW%3DRFiJ8cOgs9TEJj5JnCdZP7FM5j1khw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to