Magento 2 : How Can Directly Upload Video to ProductMagento 2 add youtube video to media gallery programmaticallyMagento 2 product video won't start because of vimeo http instead of httpsAdd watch video button to magento 2video Not found while add youtube video in magento 2uploading a videoMagento 2 - Why is product image size & dimensions changed after upload?Get product videoCategory has not been created. URL key for specified store already existsMagento 2 CSV image upload from external url saves image name with full url pathMagento 2.3 can't upload product images
Does 5e have an equivalent of the Psychic Paper from Doctor Who?
Why do Martians have to wear space helmets?
Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?
How important is it for multiple POVs to run chronologically?
A positive integer functional equation
Sleepy tired vs physically tired
What are some bad ways to subvert tropes?
What happens if the limit of 4 billion files was exceeded in an ext4 partition?
What exactly does "Stick Sensitivity" do in Smash Ultimate custom controls?
How did the IEC decide to create kibibytes?
Why weren't Gemini capsules given names?
How did Captain Marvel do this without dying?
How to reclaim personal item I've lent to the office without burning bridges?
How to deal with a Murder Hobo Paladin?
Convert integer to full text string duration
Would the Life cleric's Disciple of Life feature supercharge the Regenerate spell?
Taking my Ph.D. advisor out for dinner after graduation
What causes a fastener to lock?
How to supply water to a coastal desert town with no rain and no freshwater aquifers?
Is there a way to change the aspect ratio of a DNG file?
Motorcyle Chain needs to be cleaned every time you lube it?
How would a sea turtle end up on its back?
n-level Ouroboros Quine
Initializing variables variable in an "if" statement
Magento 2 : How Can Directly Upload Video to Product
Magento 2 add youtube video to media gallery programmaticallyMagento 2 product video won't start because of vimeo http instead of httpsAdd watch video button to magento 2video Not found while add youtube video in magento 2uploading a videoMagento 2 - Why is product image size & dimensions changed after upload?Get product videoCategory has not been created. URL key for specified store already existsMagento 2 CSV image upload from external url saves image name with full url pathMagento 2.3 can't upload product images
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I know that, we can upload video via Vimeo and Youtube video url in the product from admin.
However I cannot find a way to directly upload video file same as product image.
Does this means that I cannot host product video in my Magento server?
magento2 product admin file-upload video
add a comment |
I know that, we can upload video via Vimeo and Youtube video url in the product from admin.
However I cannot find a way to directly upload video file same as product image.
Does this means that I cannot host product video in my Magento server?
magento2 product admin file-upload video
you have two options for upload video in magento 2. 1) upload video via google drive (blog.belvg.com/…) 2) install third party extension to upload video (fmeextensions.com/product-videos-magento-2.html)
– Nits
Jan 30 '17 at 10:52
add a comment |
I know that, we can upload video via Vimeo and Youtube video url in the product from admin.
However I cannot find a way to directly upload video file same as product image.
Does this means that I cannot host product video in my Magento server?
magento2 product admin file-upload video
I know that, we can upload video via Vimeo and Youtube video url in the product from admin.
However I cannot find a way to directly upload video file same as product image.
Does this means that I cannot host product video in my Magento server?
magento2 product admin file-upload video
magento2 product admin file-upload video
edited Jan 30 '17 at 11:20
SR_Magento
3,42911 gold badges52 silver badges97 bronze badges
3,42911 gold badges52 silver badges97 bronze badges
asked Jan 25 '17 at 1:04
user1506075user1506075
3463 silver badges14 bronze badges
3463 silver badges14 bronze badges
you have two options for upload video in magento 2. 1) upload video via google drive (blog.belvg.com/…) 2) install third party extension to upload video (fmeextensions.com/product-videos-magento-2.html)
– Nits
Jan 30 '17 at 10:52
add a comment |
you have two options for upload video in magento 2. 1) upload video via google drive (blog.belvg.com/…) 2) install third party extension to upload video (fmeextensions.com/product-videos-magento-2.html)
– Nits
Jan 30 '17 at 10:52
you have two options for upload video in magento 2. 1) upload video via google drive (blog.belvg.com/…) 2) install third party extension to upload video (fmeextensions.com/product-videos-magento-2.html)
– Nits
Jan 30 '17 at 10:52
you have two options for upload video in magento 2. 1) upload video via google drive (blog.belvg.com/…) 2) install third party extension to upload video (fmeextensions.com/product-videos-magento-2.html)
– Nits
Jan 30 '17 at 10:52
add a comment |
3 Answers
3
active
oldest
votes
Yes, you can only upload video to Magento 2 product via YouTube or Vimeo.
add a comment |
As an alternative solution, if you don't want to use YouTube or Vimeo, upload file directly in to your server, and using browser native html video tag, you can insert video manually. Just simple example bellow, inside product page description.
<video width="480" controls>
<source src="/pub/media/video/your-video-file.mp4" type="video/mp4">
</video>
add a comment |
If Display video in product page using mp4 video and another types of video
We have to need create attribute for add video name
Then get this video name to where want to display video
<?php
$_helper = $this->helper('MagentoCatalogHelperOutput');
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$_product = $objectManager->get('MagentoFrameworkRegistry')->registry('current_product');//get current product
?>
<?php if($proVideo = $_helper->productAttribute($_product,$_product->getVideoName(), 'video_name')):?>
<?php $videoUrl = $this->getUrl('pub/media/catalog/product/videos/').$proVideo; ?>
<div class="prod_video_bg">
<video width="400" controls>
<source src="<?php echo $videoUrl; ?>" type="video/mp4">
</video>
</div>
<?php endif; ?>
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f156286%2fmagento-2-how-can-directly-upload-video-to-product%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, you can only upload video to Magento 2 product via YouTube or Vimeo.
add a comment |
Yes, you can only upload video to Magento 2 product via YouTube or Vimeo.
add a comment |
Yes, you can only upload video to Magento 2 product via YouTube or Vimeo.
Yes, you can only upload video to Magento 2 product via YouTube or Vimeo.
answered Jan 30 '17 at 10:37
Syed Muneeb Ul HasanSyed Muneeb Ul Hasan
6503 silver badges17 bronze badges
6503 silver badges17 bronze badges
add a comment |
add a comment |
As an alternative solution, if you don't want to use YouTube or Vimeo, upload file directly in to your server, and using browser native html video tag, you can insert video manually. Just simple example bellow, inside product page description.
<video width="480" controls>
<source src="/pub/media/video/your-video-file.mp4" type="video/mp4">
</video>
add a comment |
As an alternative solution, if you don't want to use YouTube or Vimeo, upload file directly in to your server, and using browser native html video tag, you can insert video manually. Just simple example bellow, inside product page description.
<video width="480" controls>
<source src="/pub/media/video/your-video-file.mp4" type="video/mp4">
</video>
add a comment |
As an alternative solution, if you don't want to use YouTube or Vimeo, upload file directly in to your server, and using browser native html video tag, you can insert video manually. Just simple example bellow, inside product page description.
<video width="480" controls>
<source src="/pub/media/video/your-video-file.mp4" type="video/mp4">
</video>
As an alternative solution, if you don't want to use YouTube or Vimeo, upload file directly in to your server, and using browser native html video tag, you can insert video manually. Just simple example bellow, inside product page description.
<video width="480" controls>
<source src="/pub/media/video/your-video-file.mp4" type="video/mp4">
</video>
answered Oct 25 '18 at 4:10
crashtestxxxcrashtestxxx
1933 silver badges12 bronze badges
1933 silver badges12 bronze badges
add a comment |
add a comment |
If Display video in product page using mp4 video and another types of video
We have to need create attribute for add video name
Then get this video name to where want to display video
<?php
$_helper = $this->helper('MagentoCatalogHelperOutput');
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$_product = $objectManager->get('MagentoFrameworkRegistry')->registry('current_product');//get current product
?>
<?php if($proVideo = $_helper->productAttribute($_product,$_product->getVideoName(), 'video_name')):?>
<?php $videoUrl = $this->getUrl('pub/media/catalog/product/videos/').$proVideo; ?>
<div class="prod_video_bg">
<video width="400" controls>
<source src="<?php echo $videoUrl; ?>" type="video/mp4">
</video>
</div>
<?php endif; ?>
add a comment |
If Display video in product page using mp4 video and another types of video
We have to need create attribute for add video name
Then get this video name to where want to display video
<?php
$_helper = $this->helper('MagentoCatalogHelperOutput');
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$_product = $objectManager->get('MagentoFrameworkRegistry')->registry('current_product');//get current product
?>
<?php if($proVideo = $_helper->productAttribute($_product,$_product->getVideoName(), 'video_name')):?>
<?php $videoUrl = $this->getUrl('pub/media/catalog/product/videos/').$proVideo; ?>
<div class="prod_video_bg">
<video width="400" controls>
<source src="<?php echo $videoUrl; ?>" type="video/mp4">
</video>
</div>
<?php endif; ?>
add a comment |
If Display video in product page using mp4 video and another types of video
We have to need create attribute for add video name
Then get this video name to where want to display video
<?php
$_helper = $this->helper('MagentoCatalogHelperOutput');
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$_product = $objectManager->get('MagentoFrameworkRegistry')->registry('current_product');//get current product
?>
<?php if($proVideo = $_helper->productAttribute($_product,$_product->getVideoName(), 'video_name')):?>
<?php $videoUrl = $this->getUrl('pub/media/catalog/product/videos/').$proVideo; ?>
<div class="prod_video_bg">
<video width="400" controls>
<source src="<?php echo $videoUrl; ?>" type="video/mp4">
</video>
</div>
<?php endif; ?>
If Display video in product page using mp4 video and another types of video
We have to need create attribute for add video name
Then get this video name to where want to display video
<?php
$_helper = $this->helper('MagentoCatalogHelperOutput');
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$_product = $objectManager->get('MagentoFrameworkRegistry')->registry('current_product');//get current product
?>
<?php if($proVideo = $_helper->productAttribute($_product,$_product->getVideoName(), 'video_name')):?>
<?php $videoUrl = $this->getUrl('pub/media/catalog/product/videos/').$proVideo; ?>
<div class="prod_video_bg">
<video width="400" controls>
<source src="<?php echo $videoUrl; ?>" type="video/mp4">
</video>
</div>
<?php endif; ?>
answered Jan 18 at 6:30
AB SaiyadAB Saiyad
855 bronze badges
855 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f156286%2fmagento-2-how-can-directly-upload-video-to-product%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
you have two options for upload video in magento 2. 1) upload video via google drive (blog.belvg.com/…) 2) install third party extension to upload video (fmeextensions.com/product-videos-magento-2.html)
– Nits
Jan 30 '17 at 10:52