summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2022-09-05 12:30:02 +0100
committerSam Light <samlight1994@gmail.com>2022-09-05 12:30:02 +0100
commitd67654df6631664970c35ce1be18340e61cd0bda (patch)
tree3bc11137b7ec0e3e2b840ca057e31e340fbfa46c
parentb9de84a6160788a226582f0a23dadb62e55ccab5 (diff)
Minor improvements to player template
-rw-r--r--resources/views/player.blade.php2
-rw-r--r--src/Http/Controllers/ScormPlayerController.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/resources/views/player.blade.php b/resources/views/player.blade.php
index 9c20584..31836eb 100644
--- a/resources/views/player.blade.php
+++ b/resources/views/player.blade.php
@@ -1,5 +1,7 @@
<html>
<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ $sco->title }}</title>
<style>
* {
margin: 0;
diff --git a/src/Http/Controllers/ScormPlayerController.php b/src/Http/Controllers/ScormPlayerController.php
index 711be60..34a5967 100644
--- a/src/Http/Controllers/ScormPlayerController.php
+++ b/src/Http/Controllers/ScormPlayerController.php
@@ -34,6 +34,7 @@ class ScormPlayerController extends Controller
];
return view('scorm-player::player', compact(
+ 'sco',
'scorm_api_data'
));
}