Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

スライド表示コンポーネントを実装 #39

Closed
elecdeer opened this issue Apr 8, 2023 · 4 comments · Fixed by #41
Closed

スライド表示コンポーネントを実装 #39

elecdeer opened this issue Apr 8, 2023 · 4 comments · Fixed by #41

Comments

@elecdeer
Copy link
Contributor

elecdeer commented Apr 8, 2023

SlideshareのようにPDFを表示する

react-pdf使えばできるはず

@elecdeer
Copy link
Contributor Author

elecdeer commented Apr 8, 2023

@elecdeer
Copy link
Contributor Author

Warning: TT: undefined function: 5
みたいなWarningが出るのはpdf.jsの仕様っぽい。見た目上は問題なし。
mozilla/pdf.js#3768

@elecdeer
Copy link
Contributor Author

帯域使用料を考えると、ページロード時点でPDFを全部読み込むのはよろしくない気がしてきた。
1ページのみをサムネイルとして表示し、次へボタンをクリックしたらPDFを初めて読み込むのがよさそう。

@elecdeer
Copy link
Contributor Author

そのためにはサムネイル画像が必要になるが、どちらにせよ論文一覧ページに必要になるはず

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant