sychn Posted August 24, 2023 Posted August 24, 2023 Hello, Does anyone know how to embedded a video into a post? The link is an unencrypted http address ends with .mp4 Thanks.
Jim M Posted August 24, 2023 Posted August 24, 2023 The video file would need to be uploaded as an attachment to the post itself or you would need to use a supported embed site, such as YouTube or Vimeo.
sychn Posted August 24, 2023 Author Posted August 24, 2023 2 hours ago, Jim M said: The video file would need to be uploaded as an attachment to the post itself or you would need to use a supported embed site, such as YouTube or Vimeo. How about a video link like http://....../.../filename.mp4 ?
Jim M Posted August 24, 2023 Posted August 24, 2023 2 minutes ago, sychn said: How about a video link like http://....../.../filename.mp4 ? It would only be the options I mentioned. Other items are not embeddable.
sychn Posted August 24, 2023 Author Posted August 24, 2023 1 minute ago, Jim M said: It would only be the options I mentioned. Other items are not embeddable. Thanks. While video embeddable was a feature in V3.x I remember. 😉
Jim M Posted August 24, 2023 Posted August 24, 2023 1 minute ago, sychn said: Thanks. While video embeddable was a feature in V3.x I remember. 😉 V3 did not support video embeds actually. You could create a custom toolbar to embed the video in each though but natively there is no option to embed an MP4 URL.
sychn Posted August 24, 2023 Author Posted August 24, 2023 I remember I could set a bbcode to embedded videos from outside link, more like this style: [video]link[/video]
Jim M Posted August 24, 2023 Posted August 24, 2023 26 minutes ago, sychn said: I remember I could set a bbcode to embedded videos from outside link, more like this style: [video]link[/video] That would have been custom BBCode, same concept as setting up a custom toolbar in version 4.
Nathan Explosion Posted August 24, 2023 Posted August 24, 2023 @sychn as per PM, here's a different way of doing what you are trying to achieve using this: 2 hours ago, Jim M said: same concept as setting up a custom toolbar in version 4. ACP -> Customization -> (Editor) Toolbars Click 'Add Button', and go to the 'Custom' tab Populate the fields as you wish, but adhere to the following specifics: Enable 'Use option?' Enter some text in the 'Option label' field (example: 'Link') In the HTML field, enter the exact code from the codebox provided in this post Click 'Save' You will now have a new button in your "Buttons not on editor", which you can drag and drop around the available editors On the front-end, click the button, paste the link into the provided dialog box field, and click OK HTML: <p> <video controls=""> <source src="{option}">{option} </video> </p> AlfaSpaceNET, sychn, Jim M and 1 other 4
sychn Posted August 24, 2023 Author Posted August 24, 2023 6 hours ago, Nathan Explosion said: @sychn as per PM, here's a different way of doing what you are trying to achieve using this: ACP -> Customization -> (Editor) Toolbars Click 'Add Button', and go to the 'Custom' tab Populate the fields as you wish, but adhere to the following specifics: Enable 'Use option?' Enter some text in the 'Option label' field (example: 'Link') In the HTML field, enter the exact code from the codebox provided in this post Click 'Save' You will now have a new button in your "Buttons not on editor", which you can drag and drop around the available editors On the front-end, click the button, paste the link into the provided dialog box field, and click OK HTML: <p> <video controls=""> <source src="{option}">{option} </video> </p> Thanks, Nathan. I have tried but the problem seems still the browser. I have tried different codec like H.264, but still no play button worked.
Marc Posted August 29, 2023 Posted August 29, 2023 Anything outside of that would depend upon the browser. If its surrounded in HTML5 video tags, then from there on in, it's the browser that decides how to display that
Recommended Posts