Change Page class method files to meta
This commit is contained in:
parent
bec25bfa5d
commit
3655476608
@ -112,8 +112,8 @@ if(class_exists('Page')){
|
||||
</style>
|
||||
|
||||
<?php
|
||||
if(isset($page) && method_exists($page, 'files')) {
|
||||
$page->files();
|
||||
if(isset($page) && method_exists($page, 'meta')) {
|
||||
$page->meta();
|
||||
}
|
||||
?>
|
||||
</head>
|
||||
|
@ -6,7 +6,7 @@ class Page {
|
||||
|
||||
}
|
||||
|
||||
public function files(){
|
||||
public function meta(){
|
||||
echo '<link rel="stylesheet" href="https://cdn.cwinfo.net/frameworks/video-js/7.18.1/video-js.min.css" crossorigin="anonymous" media="screen">';
|
||||
echo '<script type="application/javascript" src="https://cdn.cwinfo.net/frameworks/video-js/7.18.1/video.min.js" crossorigin="anonymous"></script>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user