summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'
));
}