File tree Expand file tree Collapse file tree
libs/route-pages/ashes-page/src/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,9 +201,9 @@ <h1 class="main-title">Feedback</h1>
201201 </ div >
202202 </ section >
203203
204- < div *ngIf =" project.video " class ="container cursor-pointer " (click) =" activateFrame() ">
204+ < div class ="container cursor-pointer ">
205205 < iframe [src] ="getSafeUrl(project.video) " style =" width: 100%; height:80vh; " allowfullscreen
206- [style.pointer-events] =" isFrameActive ? 'auto' : 'none' "> </ iframe >
206+ allow =" autoplay "> </ iframe >
207207 </ div >
208208
209209 < next-project > </ next-project >
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ export class AshesPageComponent {
4343
4444 project$ : Observable < AshesPortfolio > = this . getProjectsServ . getPortfolioRequest ( ROUTE ) ;
4545
46- isFrameActive = false ;
47-
4846 technologiesCard : ITechnologiesCard [ ] = [
4947 {
5048 smJustify : "between" ,
@@ -109,13 +107,6 @@ export class AshesPageComponent {
109107 this . cdr . detectChanges ( ) ;
110108 }
111109
112- activateFrame ( ) {
113- // start from inactive iframe to allow scrolling over iframe
114- if ( ! this . isFrameActive ) {
115- this . isFrameActive = true ;
116- }
117- }
118-
119110 getSafeUrl ( url ?: string ) {
120111 if ( ! url ) {
121112 return '' ;
You can’t perform that action at this time.
0 commit comments