File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
code/Magento/ProductVideo
Block/Adminhtml/Product/Edit
design/adminhtml/Magento/backend/Magento_ProductVideo/web/css/source Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -270,16 +270,14 @@ protected function addMediaRoleAttributes(Fieldset $fieldset)
270
270
*/
271
271
protected function getNoteVideoUrl ()
272
272
{
273
- $ result = __ ('Youtube and Vimeo services are supported. ' );
273
+ $ result = __ ('YouTube and Vimeo supported. ' );
274
274
if (is_null ($ this ->mediaHelper ->getYouTubeApiKey ())) {
275
275
$ result = __ (
276
- 'The vimeo service is supported, '
277
- . ' in order to add an support for the youtube service '
278
- . ' please <a href="%1">specify</a> an youtube API key within a system configurations. '
276
+ 'Vimeo supported.<br> '
277
+ . 'To add YouTube video, please <a href="%1">enter YouTube API Key</a> first. '
279
278
,
280
279
$ this ->getConfigApiKeyUrl ()
281
280
);
282
- $ result = '<div class="note_youtube_api_key"> ' . $ result . '</div> ' ;
283
281
}
284
282
return $ result ;
285
283
}
Original file line number Diff line number Diff line change 11
11
<group id =" product_video" translate =" label" type =" text" sortOrder =" 350" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
12
12
<label >Product Video</label >
13
13
<field id =" youtube_api_key" translate =" label" type =" text" sortOrder =" 20" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
14
- <label >Youtube API key </label >
14
+ <label >YouTube API Key </label >
15
15
</field >
16
16
</group >
17
17
</section >
Original file line number Diff line number Diff line change 234
234
.image.base-image :hover .image-label {
235
235
display : none ;
236
236
}
237
- .note .note_youtube_api_key {
238
- background-color : #fffbbb ;
239
- }
You can’t perform that action at this time.
0 commit comments