Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Vimeo URL in the video intro

17 Aug 2022, 23:56

Hi~ karl~

Can I use the Vimeo URL in the video intro function?

The URL below will play automatically in the Chrome browser.
Code
https://player.vimeo.com/video/734924234?h=574a6caba7&badge=0&autopause=0&player_id=0&app_id=58479?autoplay=1&muted=1&loop=1&background=1
but
If i insert the above URL into the Video intro, it will not work.

Help me.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Vimeo URL in the video intro

18 Aug 2022, 00:38

TristanJo wrote:Can I use the Vimeo URL in the video intro function?
Code
https://player.vimeo.com/video/734924234?h=574a6caba7&badge=0&autopause=0&player_id=0&app_id=58479?autoplay=1&muted=1&loop=1&background=1
It could be possible if the external resource was a video. The problem is, the link you are referring to is not really a video ... It's a web page with html elements, javascript and it's own player.
Image
Furthermore, it streams multiple sources ... So it's not really one video source:
Image

Unfortunately, it can't be added to the video intro, because it's not really a video. However, it is an "embeddable" element, that you can embed on any website. You could for example add it into the "content" section of your X3 website. If you want to add it as an "intro" it would need to be hacked somehow ... If I was going to spend 1-2 hours on that, I would need to charge $15.
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Re: Vimeo URL in the video intro

18 Aug 2022, 04:14

mjau-mjau wrote: If you want to add it as an "intro" it would need to be hacked somehow ...
If I was going to spend 1-2 hours on that, I would need to charge $15.
I think it's worth paying to reduce the traffic on the homepage server. (paypal)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Vimeo URL in the video intro

18 Aug 2022, 05:16

TristanJo wrote:I think it's worth paying to reduce the traffic on the homepage server. (paypal)
I'll see if I can get it to work locally later on today ...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Vimeo URL in the video intro

19 Aug 2022, 01:04

I managed to add it like an "intro", but in your link, the video is "contained" within the area of the <iframe>, and I can't change that from X3. Maybe there are some URL?parameters available from Vimeo that can set the video to "cover" the area.

If not, it would look like this, although the empty spaces are exaggerated because I have devtools open:
Image

As noted, this is not a <video> or MP4 source, but a HTML document that needs to be embedded with <iframe>, and is therefore controlled by Javascript and code within the linked document.
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Re: Vimeo URL in the video intro

19 Aug 2022, 04:53

mjau-mjau wrote: "소개"처럼 추가할 수 있었지만 링크에서 비디오는 <iframe> 영역 내에 "포함"되어 있으며 X3에서 변경할 수 없습니다. Vimeo에서 해당 영역을 "커버"하도록 비디오를 설정할 수 있는 URL 매개변수가 있을 수 있습니다.

그렇지 않은 경우 devtools가 열려 있기 때문에 빈 공간이 과장되지만 다음과 같이 보일 것입니다.
Image

언급했듯이 이것은 <video> 또는 MP4 소스가 아니라 <iframe>과 함께 포함되어야 하는 HTML 문서입니다. 따라서 링크된 문서 내의 Javascript 및 코드에 의해 제어됩니다.
I understand what you mean.
Thank you.
But since you've worked, I'll pay.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Vimeo URL in the video intro

19 Aug 2022, 05:38

No problem, it didn't take long. If you want to use this fix, let me know.