Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
Implemented addition of video providers
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
More and more, I have to integrate alternative videos to youtube or vimeo.
Would it be possible to integrate in a responsive way the peertotube videos (this article "video peertube PB!") or even videos of servers format like ("video FS PB!")
see the test site on joom41test.88h.ovh/ (joomla 4.1 rc4 )
Regards
DOWNLOADLINK to test version:
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
that is possible.
currently ochFitzvids searches for all iframes on the page, and then in the results it searches for '(youtube|ted.com|prezi|vimeo|kickstarter|soundcloud)'
So there are multiple ways to make this possible:
- add (in this example) videos.francesoir.fr to the search
- make config option for the search regex so you can change it yourself
- search for iframe with a specific class e.g. class="ochfitvids-force"
The second (2) gives you control, but also the power to break things
The third (3) is IMO the best: it gives the user control without coding, only thing required is that the class or attribute should be added to the video / iframe that should be responsive,
what do you think from a user perspective is best?
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
I tried, but I think I did not understand, because it does not work.
Would it be possible for established providers like peertube ( en.wikipedia.org/wiki/PeerTube - joinpeertube.org/help ) , that you do this addition?
For me, 1/ is the best because I usually add videos from 5 or 6 video providers that have multiple videos.
Other authors will have trouble putting in a class!
For site specific servers: videos.xyz
I would like to try
1/ I did not understand how to do it?
3/ I added class="ochfitvids-force" but it must not be correct!
Regards
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
sorry my bad. I said is was possible (to implement that as a new feature), I didn't mean it was currently possible :S
So question what your (as user) preferred method of implementing was: 1, 2 or 3 (or even another option I didn't think of)
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
A/ For video providers not currently integrated in ochFitvids (peertube, dailymotion ), from our point of view, it would be native integration.
B/ For special cases or exotic providers, "solution 3/", would certainly be a good complement
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
only doubt for me is that I can 'hardcode' the additional ones but then you always need to wait for me integrating and testing it.
when I create a (advanced) config option where you can yourself change the query string then you would not be dependend on me.
for me that would be a better solution as it saves me a lot of work for 'exotic' platforms that only a very limited number of people will ever use (and that need to be maintained as when the platform changes things, the plugin functionality might break).
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
peertube is not well known, but more ethical than all the others. I also think, possibly, of dailymotion (because it is well used in France)
Of course it is also interesting to integrate this class for exotic cases, like the video server mentioned
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
In the first post (yours) of this topic there is a download link to a new (dev) version.
In this version:
- added peertube and dailymotion
- added force making a iframe responsive when iframe class="ochfitvids-force"
- added advanced setting where you can modify the provider selection regex: so when you want to add e.e. blabla.com as video platform you can do that via that setting
regards,
Ruud.
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
Great, it's fast
3/ I didn't modify anything
2/ The FS video works well with the code
<p><iframe width="1120" height="630" src=" videos.francesoir.fr/embed/55578522-8bf9...a-aa9d-dc180c28353e/" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="allowfullscreen" class="ochfitvids-force">
1/ It works well on some browsers, but not on others : strange !
I'm under Ubuntu 21.10 and joomla 4.1
TEDx:
Chromuim and Firefox ("mime problem"): nothing
I insert like others, but the iframe is not generated!?
<p><video width="600" height="300" controls="controls">
<source src=" www.ted.com/talks/kim_stanley_robinson_r...ear_2071?language=fr" />
Under firefox, I see a problem mimicking
PEERTUBE
Chromuim NOK - Firefox: OK
SOUNDCLOUD
Chromuim and Firefox("mime problem") = NOK
I can give access to the test site
Regards
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
this is the iframe (copied from tedx site:TEDx:
Chromuim and Firefox ("mime problem"): nothing
I insert like others, but the iframe is not generated!?
<p><video width="600" height="300" controls="controls">
<source src=" www.ted.com/talks/kim_stanley_robinson_r...ear_2071?language=fr" />
Under firefox, I see a problem mimicking
ochfidvids takes the iframe you insert, so if that is working it will be working with ochfitvids, if that is not working then it will also not work with ochFitvids.PEERTUBE
Chromuim NOK - Firefox: OK
SOUNDCLOUD
Chromuim and Firefox("mime problem") = NOK
I can give access to the test site
Regards
can you make a testpage on your test server with all possible iframes (soundcloud, youtube, peertube, etc) so I can check there on multiple browsers to see where the error is?
Graag Inloggen deelnemen aan het gesprek.