$url="Site
URL";
$html
= file_get_contents($url);
$doc
= new DOMDocument();
@$doc->loadHTML($html);
$tags
= $doc->getElementsByTagName('img');
foreach
($tags as $tag) {
echo $tag->getAttribute('src');
}
1
|
#LoadModule
rewrite_module modules/mod_rewrite.so
|
1
|
#LoadModule
rewrite_module modules/mod_rewrite.so
|
.youtube-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow:
hidden;
}
.youtube-container iframe,
.youtube-container object,
.youtube-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Write HTML
<div>
</div>
At above example the class “youtube-container” using in embed div and css. It will automatically resize with all mobile devices.
Introduction As we navigate through 2025, the technological landscape continues to evolve at an unprecedented pace. Innovations that once se...