January 5, 2021
This is Magento bug. Wrong paths to Windows are generated. The fixed fix is Magento 2.3.0 /vendor/magento/framework/View/Element/Template/File/Validator.php:114 the string $realPath = $this->fileDriver->getRealPath($path); $realPath = $this->fileDriver->getRealPath($path); to […]
January 5, 2021
function sharescreen(){ let displayMediaOptions = {video: true, audio: false};navigator.mediaDevices.getDisplayMedia(displayMediaOptions).then(function(stream){video_el.srcObject = stream;}) }
January 5, 2021
January 5, 2021
your local file should be added in the webpack.config.js in the CopyWebpackPlugin section From new CopyWebpackPlugin([{ from: { glob: “fonts/” } }, { from: { glob: “/.jpg” } }, { […]
August 29, 2020
$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // Instance of object manager $resource = $objectManager->get(‘Magento\Framework\App\ResourceConnection’); $connection = $resource->getConnection(); $tableName = $resource->getTableName(’employee’); //gives table name with prefix //Select Data from table […]
August 24, 2020
{{block class=”Magento\Framework\View\Element\Template” name=”myname” template=”Magento_Theme::html/ggapi.phtml”}} In respective theme folder in Theme > html > ggapi.phtml
July 22, 2020
mkdir videobroadcast && cd videobroadcast # install from NPM npm install rtcmulticonnection # or clone from github git clone https://github.com/muaz-khan/RTCMultiConnection.git ./ cd videobroadcast npm install node […]