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

Meer
2 jaren 10 maanden geleden - 2 jaren 10 maanden geleden #1934 door Hervé
addition of video providers werd gestart door Hervé
Hi Ruud

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:
Dit bericht bevat vertrouwelijke informatie
Laatst bewerkt 2 jaren 10 maanden geleden door Ruud van Lent. Reden: Added download link

Graag Inloggen deelnemen aan het gesprek.

Meer
2 jaren 10 maanden geleden #1938 door Ruud van Lent
Beantwoord door Ruud van Lent in topic addition of video providers
Hi Hervé,
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:
  1. add (in this example) videos.francesoir.fr to the search
  2. make config option for the search regex so you can change it yourself
  3. search for iframe with a specific class e.g. class="ochfitvids-force"
The first (2) is the most 'dummy' proof, but means code changes and new releases on every addition.
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.

Meer
2 jaren 10 maanden geleden #1941 door Hervé
Beantwoord door Hervé in topic addition of video providers
Hi Ruud

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.

Meer
2 jaren 10 maanden geleden #1942 door Ruud van Lent
Beantwoord door Ruud van Lent in topic addition of video providers
Hi Hervé,
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.

Meer
2 jaren 10 maanden geleden - 2 jaren 10 maanden geleden #1943 door Hervé
Beantwoord door Hervé in topic addition of video providers
OK but I think I have answered.
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
Laatst bewerkt 2 jaren 10 maanden geleden door Hervé.

Graag Inloggen deelnemen aan het gesprek.

Meer
2 jaren 10 maanden geleden #1944 door Ruud van Lent
Beantwoord door Ruud van Lent in topic addition of video providers
ok,
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.

Meer
2 jaren 10 maanden geleden #1945 door Hervé
Beantwoord door Hervé in topic addition of video providers
For me, there is no urgency and I don't think there are dozens of platforms to integrate.
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.

Meer
2 jaren 10 maanden geleden #1946 door Ruud van Lent
Beantwoord door Ruud van Lent in topic addition of video providers
Goodmorning Hervé,

In the first post (yours) of this topic there is a download link to a new (dev) version.
In this version:
  1. added peertube and dailymotion
  2. added force making a iframe responsive when iframe class="ochfitvids-force"
  3. 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
If you can test that would be great.
regards,
Ruud.

Graag Inloggen deelnemen aan het gesprek.

Meer
2 jaren 10 maanden geleden #1947 door Hervé
Beantwoord door Hervé in topic addition of video providers
Hello Ruud
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.

Meer
2 jaren 10 maanden geleden #1948 door Ruud van Lent
Beantwoord door Ruud van Lent in topic addition of video providers

Hello Ruud
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

 

strange, ochfitvids only adds css to iframe, displaying video is done by browser so not sure where this goes wrong?

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
 

this is the iframe (copied from tedx site:
Code:
<iframe src="https://embed.ted.com/talks/lang/fr/kim_stanley_robinson_remembering_climate_change_a_message_from_the_year_2071" width="854" height="480" style="position:absolute;left:0;top:0;width:100%;height:100%" frameborder="0" scrolling="no" allowfullscreen></iframe>

PEERTUBE
Chromuim NOK - Firefox: OK

SOUNDCLOUD
Chromuim and Firefox("mime problem") = NOK

I can give access to the test site
Regards

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.
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.